diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-08-26 23:29:37 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-08-26 23:29:37 +0200 |
commit | feed976d8865cc378989f1e5eb856c9b497f9ac2 (patch) | |
tree | b30d03299eac1b9b946bcd5e8632f00a8f85c67f /src | |
parent | i18n style guide fixes (diff) | |
download | rekonq-feed976d8865cc378989f1e5eb856c9b497f9ac2.tar.xz |
Toolbar UI customizable
Diffstat (limited to 'src')
-rw-r--r-- | src/mainwindow.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index bf0f4f36..6c31a5b7 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -159,7 +159,6 @@ SidePanel *MainWindow::sidePanel() void MainWindow::setupToolbar() { KToolBar *mainToolBar = new KToolBar( QString("MainToolBar"), this, Qt::TopToolBarArea); - mainToolBar->setContextMenuPolicy(Qt::PreventContextMenu); mainToolBar->setToolButtonStyle(Qt::ToolButtonIconOnly); mainToolBar->addAction( actionByName("history_back") ); mainToolBar->addAction( actionByName("history_forward") ); @@ -474,10 +473,9 @@ void MainWindow::slotUpdateConfiguration() defaultSettings->setAttribute(QWebSettings::OfflineStorageDatabaseEnabled, ReKonfig::offlineStorageDatabaseEnabled()); defaultSettings->setAttribute(QWebSettings::OfflineWebApplicationCacheEnabled, ReKonfig::offlineWebApplicationCacheEnabled()); defaultSettings->setAttribute(QWebSettings::LocalStorageDatabaseEnabled, ReKonfig::localStorageDatabaseEnabled()); - /** - * Applies user defined CSS to all open webpages. If there no longer is a - * user defined CSS removes it from all open webpages. - */ + + // Applies user defined CSS to all open webpages. If there no longer is a + // user defined CSS removes it from all open webpages. defaultSettings->setUserStyleSheetUrl(ReKonfig::userCSS()); // ====== load Settings on main classes |