diff options
Diffstat (limited to 'src/mainwindow')
-rw-r--r-- | src/mainwindow/mainwindow.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainwindow/mainwindow.cpp b/src/mainwindow/mainwindow.cpp index 558fe49..5386aab 100644 --- a/src/mainwindow/mainwindow.cpp +++ b/src/mainwindow/mainwindow.cpp @@ -8,6 +8,8 @@ #include "mainwindow.h" #include "addressbar.h" +#include "bookmarks/bookmarkstoolbar.h" +#include "bookmarks/bookmarkswidget.h" #include "browser.h" #include "configuration.h" #include "menubar.h" @@ -76,6 +78,10 @@ MainWindow::MainWindow(QWidget *parent) addressBar = new AddressBar(this); navigationToolBar->addWidget(addressBar); + Browser *app = qobject_cast<Browser *>(qApp); + this->addToolBarBreak(); + this->addToolBar(new BookmarksToolbar(app->bookmarks()->model(), this)); + mdiArea->setBackground(Qt::NoBrush); setCentralWidget(mdiArea); mdiArea->setFocus(); |