Skip to content

Commit

Permalink
REFAC(client): Remove unused Settings variable
Browse files Browse the repository at this point in the history
  • Loading branch information
davidebeatrici committed Oct 6, 2024
1 parent 8da6ab7 commit 0a03d4e
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/mumble/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1397,7 +1397,6 @@ void MainWindow::storeState(const bool minimalView) {
} else {
Global::get().s.qbaMainWindowGeometry = saveGeometry();
Global::get().s.qbaMainWindowState = saveState(stateVersion());
Global::get().s.qbaHeaderState = qtvUsers->header()->saveState();
}
}

Expand Down
1 change: 0 additions & 1 deletion src/mumble/Settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,6 @@ void Settings::legacyLoad(const QString &path) {
LOAD(qbaMinimalViewState, "ui/minimalviewstate");
LOAD(qbaConfigGeometry, "ui/ConfigGeometry");
LOADENUM(wlWindowLayout, "ui/WindowLayout");
LOAD(qbaHeaderState, "ui/header");
LOAD(qsUsername, "ui/username");
LOAD(qsLastServer, "ui/server");
LOADENUM(ssFilter, "ui/serverfilter");
Expand Down
1 change: 0 additions & 1 deletion src/mumble/Settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,6 @@ struct Settings {
QByteArray qbaMainWindowState = {};
QByteArray qbaMinimalViewGeometry = {};
QByteArray qbaMinimalViewState = {};
QByteArray qbaHeaderState = {};
QByteArray qbaConfigGeometry = {};
WindowLayout wlWindowLayout = LayoutClassic;
ChannelExpand ceExpand = ChannelsWithUsers;
Expand Down
1 change: 0 additions & 1 deletion src/mumble/SettingsMacros.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@
PROCESS(ui, WINDOW_STATE_MINIMAL_VIEW_KEY, qbaMinimalViewState) \
PROCESS(ui, CONFIG_GEOMETRY_KEY, qbaConfigGeometry) \
PROCESS(ui, WINDOW_LAYOUT_KEY, wlWindowLayout) \
PROCESS(ui, OVERLAY_HEADER_STATE, qbaHeaderState) \
PROCESS(ui, SERVER_FILTER_MODE_KEY, ssFilter) \
PROCESS(ui, HIDE_IN_TRAY_KEY, bHideInTray) \
PROCESS(ui, DISPLAY_TALKING_STATE_IN_TRAY_KEY, bStateInTray) \
Expand Down

0 comments on commit 0a03d4e

Please sign in to comment.