aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow/mainwindow.cpp
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-12-11 16:29:40 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2018-12-11 16:29:40 +0100
commitd6fa17aab9800e92e369a8ba5c24510de7ad37af (patch)
treeb44dc050e1a692494e734c7550be1eee29c88dd2 /src/mainwindow/mainwindow.cpp
parentUpdate poi_firejail.desktop (diff)
downloadsmolbote-d6fa17aab9800e92e369a8ba5c24510de7ad37af.tar.xz
Fix navigation buttons using wrong icons
Diffstat (limited to 'src/mainwindow/mainwindow.cpp')
-rw-r--r--src/mainwindow/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow/mainwindow.cpp b/src/mainwindow/mainwindow.cpp
index 9e6f187..1544e79 100644
--- a/src/mainwindow/mainwindow.cpp
+++ b/src/mainwindow/mainwindow.cpp
@@ -199,7 +199,7 @@ MainWindow::MainWindow(const std::unique_ptr<Configuration> &config, QWidget *pa
});
}
- navigationToolBar = new NavigationBar(config->section("navigation"), this);
+ navigationToolBar = new NavigationBar(config.get(), this);
navigationToolBar->setMovable(config->value<bool>("navigation.movable").value());
addToolBar(Qt::TopToolBarArea, navigationToolBar);
navigationToolBar->connectWebView(nullptr);