Commit b408571c authored by Boudewijn Rempt's avatar Boudewijn Rempt

Improve method name

parent 0ca39a61
......@@ -601,7 +601,7 @@ void KisViewManager::createActions()
tAction = actionManager()->createAction("view_show_just_the_canvas");
tAction->setChecked(false);
connect(tAction, SIGNAL(toggled(bool)), this, SLOT(showJustTheCanvas(bool)));
connect(tAction, SIGNAL(toggled(bool)), this, SLOT(switchCanvasOnly(bool)));
//Workaround, by default has the same shortcut as mirrorCanvas
KisAction *a = dynamic_cast<KisAction*>(actionCollection()->action("format_italic"));
......@@ -992,7 +992,7 @@ void KisViewManager::showStatusBar(bool toggled)
}
}
void KisViewManager::showJustTheCanvas(bool toggled)
void KisViewManager::switchCanvasOnly(bool toggled)
{
KisConfig cfg;
KisMainWindow* main = mainWindow();
......
......@@ -195,7 +195,7 @@ public:
public Q_SLOTS:
void showJustTheCanvas(bool toggled);
void switchCanvasOnly(bool toggled);
void setShowFloatingMessage(bool show);
void showHideScrollbars();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment