diff options
Diffstat (limited to 'src/gui/widgets/tabbedarea.cpp')
-rw-r--r-- | src/gui/widgets/tabbedarea.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/tabbedarea.cpp b/src/gui/widgets/tabbedarea.cpp index 67882deca..7da6f9398 100644 --- a/src/gui/widgets/tabbedarea.cpp +++ b/src/gui/widgets/tabbedarea.cpp @@ -156,7 +156,7 @@ void TabbedArea::removeTab(Tab *tab) } if (tabIndexToBeSelected >= static_cast<signed>(mTabs.size())) - tabIndexToBeSelected = mTabs.size() - 1; + tabIndexToBeSelected = static_cast<int>(mTabs.size()) - 1; if (tabIndexToBeSelected < -1) tabIndexToBeSelected = -1; |