summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-10-29 11:26:42 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-10-29 11:26:42 +0100
commit228bd405a579f1653462809dae12cb48f2df941c (patch)
tree1a62c2c4bd57acdf35a233deed20e88141656345 /src/mainwindow.cpp
parentimported userAgentFromUrl method from KWebKit (diff)
downloadrekonq-228bd405a579f1653462809dae12cb48f2df941c.tar.xz
Fixing hide/show tab bar and flickering new tabs.
That happened because of the code moving from mainview to tabbar (my fault) (tabbar cannot draw and be drawn..)
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index f079c8b9..76e75dcf 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -240,7 +240,7 @@ QSize MainWindow::sizeHint() const
}
-KActionCollection *MainWindow::actionCollection () const
+KActionCollection *MainWindow::actionCollection() const
{
return m_ac;
}
@@ -460,7 +460,7 @@ void MainWindow::setupSidePanel()
void MainWindow::slotUpdateConfiguration()
{
// ============== General ==================
- mainView()->updateTabBar();
+ m_view->updateTabBar();
// =========== Fonts ==============
QWebSettings *defaultSettings = QWebSettings::globalSettings();