diff options
Diffstat (limited to 'Swift/QtUI/Trellis/QtDNDTabBar.h')
-rw-r--r-- | Swift/QtUI/Trellis/QtDNDTabBar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swift/QtUI/Trellis/QtDNDTabBar.h b/Swift/QtUI/Trellis/QtDNDTabBar.h index e9b6771..6de04d5 100644 --- a/Swift/QtUI/Trellis/QtDNDTabBar.h +++ b/Swift/QtUI/Trellis/QtDNDTabBar.h @@ -36,9 +36,9 @@ class QtDNDTabBar : public QTabBar { private: int defaultTabHeight; - int dragIndex; + int dragIndex = -1; QString dragText; - QWidget* dragWidget; + QWidget* dragWidget = nullptr; }; } |