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.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/desktop-widgets/mainwindow.h b/desktop-widgets/mainwindow.h
index ca1bf8962..7c44cb425 100644
--- a/desktop-widgets/mainwindow.h
+++ b/desktop-widgets/mainwindow.h
@@ -41,11 +41,6 @@ class LocationInformationWidget;
typedef std::pair<QByteArray, QVariant> WidgetProperty;
typedef QVector<WidgetProperty> PropertyList;
-enum MainWindowTitleFormat {
- MWTF_DEFAULT,
- MWTF_FILENAME
-};
-
class MainWindow : public QMainWindow {
Q_OBJECT
public:
@@ -74,7 +69,7 @@ public:
DivePlannerWidget *divePlannerWidget();
PlannerSettingsWidget *divePlannerSettingsWidget();
LocationInformationWidget *locationInformationWidget();
- void setTitle(enum MainWindowTitleFormat format = MWTF_FILENAME);
+ void setTitle();
void loadFiles(const QStringList files);
void importFiles(const QStringList importFiles);