summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-09-26 11:40:54 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-09-29 16:14:31 -0700
commit7337ff386bf80fe9116c117e01abbb32651fd7db (patch)
tree4566d988d9a1799284b86228b4dae6a534e1c4e7 /desktop-widgets/mainwindow.cpp
parent068194b2e5936915e503292f07f5c0e913e113c3 (diff)
downloadsubsurface-7337ff386bf80fe9116c117e01abbb32651fd7db.tar.gz
cleanup: rename FilterWidget2 to FilterWidget
The name "FilterWidget2" is historical and has no meaning anymore, since the current version has little to nothing to do with the "second" version of the widget. Rename the class and source files accordingly. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/mainwindow.cpp')
-rw-r--r--desktop-widgets/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp
index 91395d077..4e801aae3 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -182,7 +182,7 @@ MainWindow::MainWindow() : QMainWindow(),
registerApplicationState(ApplicationState::EditDiveSite, { { diveSiteEdit, FLAG_NONE }, { profileContainer, FLAG_DISABLED },
{ diveList, FLAG_DISABLED }, { mapWidget, FLAG_NONE } });
registerApplicationState(ApplicationState::FilterDive, { { mainTab.get(), FLAG_NONE }, { profileContainer, FLAG_NONE },
- { diveList, FLAG_NONE }, { &filterWidget2, FLAG_NONE } });
+ { diveList, FLAG_NONE }, { &filterWidget, FLAG_NONE } });
setApplicationState(ApplicationState::Default);
setWindowIcon(QIcon(":subsurface-icon"));