Use the "Hide toolbar" setting

This commit is contained in:
Vladimir Svyatski 2018-04-09 22:06:48 +03:00
parent 677b8caa63
commit d843ad414a
2 changed files with 12 additions and 1 deletions

View file

@ -133,7 +133,7 @@ MainWindow::MainWindow()
setAcceptDrops(true);
m_ui->toolBar->setContextMenuPolicy(Qt::PreventContextMenu);
m_ui->toolBar->setHidden(config()->get("GUI/HideToolbar").toBool());
// Setup the search widget in the toolbar
SearchWidget* search = new SearchWidget();