fix -Wextra in FreeCADGui
This commit is contained in:
@@ -60,6 +60,7 @@ StdCmdArrangeIcons::StdCmdArrangeIcons()
|
||||
|
||||
void StdCmdArrangeIcons::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
getMainWindow()->arrangeIcons ();
|
||||
}
|
||||
|
||||
@@ -87,6 +88,7 @@ StdCmdTileWindows::StdCmdTileWindows()
|
||||
|
||||
void StdCmdTileWindows::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
getMainWindow()->tile();
|
||||
}
|
||||
|
||||
@@ -114,6 +116,7 @@ StdCmdCascadeWindows::StdCmdCascadeWindows()
|
||||
|
||||
void StdCmdCascadeWindows::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
getMainWindow()->cascade();
|
||||
}
|
||||
|
||||
@@ -143,6 +146,7 @@ StdCmdCloseActiveWindow::StdCmdCloseActiveWindow()
|
||||
|
||||
void StdCmdCloseActiveWindow::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
getMainWindow()->closeActiveWindow();
|
||||
}
|
||||
|
||||
@@ -169,6 +173,7 @@ StdCmdCloseAllWindows::StdCmdCloseAllWindows()
|
||||
|
||||
void StdCmdCloseAllWindows::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
getMainWindow()->closeAllWindows();
|
||||
}
|
||||
|
||||
@@ -197,6 +202,7 @@ StdCmdActivateNextWindow::StdCmdActivateNextWindow()
|
||||
|
||||
void StdCmdActivateNextWindow::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
getMainWindow()->activateNextWindow();
|
||||
}
|
||||
|
||||
@@ -225,6 +231,7 @@ StdCmdActivatePrevWindow::StdCmdActivatePrevWindow()
|
||||
|
||||
void StdCmdActivatePrevWindow::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
getMainWindow()->activatePreviousWindow();
|
||||
}
|
||||
|
||||
@@ -252,6 +259,7 @@ StdCmdWindows::StdCmdWindows()
|
||||
|
||||
void StdCmdWindows::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
Gui::Dialog::DlgActivateWindowImp dlg( getMainWindow() );
|
||||
dlg.exec();
|
||||
}
|
||||
@@ -297,6 +305,7 @@ StdCmdDockViewMenu::StdCmdDockViewMenu()
|
||||
void StdCmdDockViewMenu::activated(int iMsg)
|
||||
{
|
||||
// Handled by the related QAction objects
|
||||
Q_UNUSED(iMsg);
|
||||
}
|
||||
|
||||
bool StdCmdDockViewMenu::isActive(void)
|
||||
@@ -332,6 +341,7 @@ StdCmdToolBarMenu::StdCmdToolBarMenu()
|
||||
void StdCmdToolBarMenu::activated(int iMsg)
|
||||
{
|
||||
// Handled by the related QAction objects
|
||||
Q_UNUSED(iMsg);
|
||||
}
|
||||
|
||||
bool StdCmdToolBarMenu::isActive(void)
|
||||
@@ -411,6 +421,7 @@ StdCmdWindowsMenu::StdCmdWindowsMenu()
|
||||
void StdCmdWindowsMenu::activated(int iMsg)
|
||||
{
|
||||
// already handled by the main window
|
||||
Q_UNUSED(iMsg);
|
||||
}
|
||||
|
||||
bool StdCmdWindowsMenu::isActive(void)
|
||||
|
||||
Reference in New Issue
Block a user