From 1013ba39c5216107406bf676fca4a91a191f03a5 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 5 Nov 2015 11:12:22 -0800 Subject: Untangle Profile from MainWindow: shortcuts This, too, should be done with signals. Signed-off-by: Dirk Hohndel --- desktop-widgets/mainwindow.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'desktop-widgets/mainwindow.h') diff --git a/desktop-widgets/mainwindow.h b/desktop-widgets/mainwindow.h index 05844fbd6..0d431b8b5 100644 --- a/desktop-widgets/mainwindow.h +++ b/desktop-widgets/mainwindow.h @@ -77,10 +77,6 @@ public: LocationInformationWidget *locationInformationWidget(); void setTitle(enum MainWindowTitleFormat format = MWTF_FILENAME); - // 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 loadFiles(const QStringList files); void importFiles(const QStringList importFiles); void importTxtFiles(const QStringList fileNames); @@ -194,6 +190,10 @@ slots: void planCreated(); void setEnabledToolbar(bool arg1); void setPlanNotes(); + // 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(); private: Ui::MainWindow ui; -- cgit v1.2.3-70-g09d2