X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fmainwin.cpp;h=63fe459bbb70f91d757b9b6d9c0542a00b5e87c6;hb=e69f471077b6cc3ca719763892eaf31197ec1726;hp=2a1ce6f460dce736ab0cdd390fabb5e5dcc1814a;hpb=84cd3561e97167ffb98ecab0fd2b884ba1d13ada;p=quassel.git diff --git a/src/qtui/mainwin.cpp b/src/qtui/mainwin.cpp index 2a1ce6f4..63fe459b 100644 --- a/src/qtui/mainwin.cpp +++ b/src/qtui/mainwin.cpp @@ -1025,13 +1025,15 @@ void MainWin::setupToolBars() #endif } -#ifdef Q_OS_MAC void MainWin::saveMainToolBarStatus(bool enabled) { +#ifdef Q_OS_MAC QtUiSettings uiSettings; uiSettings.setValue("ShowMainToolBar", enabled); -} +#else + Q_UNUSED(enabled); #endif +} void MainWin::connectedToCore()