mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
Fix compiler warning in release builds
This commit is contained in:
committed by
Roland Winklmeier
parent
a2be465388
commit
0eec00ced3
@@ -83,13 +83,14 @@ namespace BlackGui
|
|||||||
lockTabBarMenuAction->setChecked(this->m_lockTabBar);
|
lockTabBarMenuAction->setChecked(this->m_lockTabBar);
|
||||||
menu->addAction(lockTabBarMenuAction);
|
menu->addAction(lockTabBarMenuAction);
|
||||||
connect(lockTabBarMenuAction, &QAction::toggled, this, &CInfoArea::ps_toggleTabBarLocked);
|
connect(lockTabBarMenuAction, &QAction::toggled, this, &CInfoArea::ps_toggleTabBarLocked);
|
||||||
|
|
||||||
menu->addSeparator();
|
menu->addSeparator();
|
||||||
QMenu *subMenuToggleFloat = new QMenu("Toggle Float/Dock", menu);
|
QMenu *subMenuToggleFloat = new QMenu("Toggle Float/Dock", menu);
|
||||||
QMenu *subMenuDisplay = new QMenu("Display", menu);
|
QMenu *subMenuDisplay = new QMenu("Display", menu);
|
||||||
subMenuDisplay->addActions(this->getInfoAreaSelectActions(subMenuDisplay));
|
subMenuDisplay->addActions(this->getInfoAreaSelectActions(subMenuDisplay));
|
||||||
|
|
||||||
QSignalMapper *signalMapperToggleFloating = new QSignalMapper(menu);
|
QSignalMapper *signalMapperToggleFloating = new QSignalMapper(menu);
|
||||||
bool c = false;
|
bool c = false; // check connections
|
||||||
|
|
||||||
for (int i = 0; i < this->m_dockWidgetInfoAreas.size(); i++)
|
for (int i = 0; i < this->m_dockWidgetInfoAreas.size(); i++)
|
||||||
{
|
{
|
||||||
@@ -137,6 +138,7 @@ namespace BlackGui
|
|||||||
|
|
||||||
// tab bar position
|
// tab bar position
|
||||||
menu->addAction(CIcons::dockBottom16(), "Toogle tabbar position", this, SLOT(ps_toggleTabBarPosition()));
|
menu->addAction(CIcons::dockBottom16(), "Toogle tabbar position", this, SLOT(ps_toggleTabBarPosition()));
|
||||||
|
Q_UNUSED(c);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user