summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/mainwindow.h')
-rw-r--r--desktop-widgets/mainwindow.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/mainwindow.h b/desktop-widgets/mainwindow.h
index 4b28c0a9e..18fc5c577 100644
--- a/desktop-widgets/mainwindow.h
+++ b/desktop-widgets/mainwindow.h
@@ -164,8 +164,6 @@ slots:
void setEnabledToolbar(bool arg1);
// Some shortcuts like "change DC" or "copy/paste dive components"
// should only be enabled when the profile's visible.
- void disableShortcuts(bool disablePaste = true);
- void enableShortcuts();
void startDiveSiteEdit();
private:
@@ -237,6 +235,8 @@ private:
void setQuadrantWidget(QSplitter &splitter, const Quadrant &q, int pos);
void setQuadrantWidgets(QSplitter &splitter, const Quadrant &left, const Quadrant &right);
void registerApplicationState(ApplicationState state, Quadrants q);
+ void disableShortcuts(bool disablePaste = true);
+ void enableShortcuts();
QMenu *connections;
QAction *share_on_fb;