summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainview.cpp10
-rw-r--r--src/mainview.h2
2 files changed, 1 insertions, 11 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index ca604b2c..0cd61ddd 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -328,12 +328,6 @@ WebTab *MainView::newWebTab(bool focused)
}
-int MainView::originalWidthHint() const
-{
- return m_originalWidthHint;
-}
-
-
void MainView::newTab()
{
WebView *w = newWebTab()->view();
@@ -403,8 +397,6 @@ void MainView::closeOtherTabs(int index)
{
closeTab(i);
}
-
- updateTabBar();
}
@@ -418,8 +410,6 @@ void MainView::cloneTab(int index)
KUrl url = webTab(index)->url();
rApp->loadUrl(url, Rekonq::NewTab);
-
- updateTabBar();
}
diff --git a/src/mainview.h b/src/mainview.h
index f8aa94b7..8bd66161 100644
--- a/src/mainview.h
+++ b/src/mainview.h
@@ -105,7 +105,7 @@ public:
return m_recentlyClosedTabs;
}
- int originalWidthHint() const;
+ inline int originalWidthHint() const { return m_originalWidthHint; };
Q_SIGNALS:
// current tab signals