summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index f9a5cc5b..231700a0 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -305,12 +305,10 @@ void MainView::newTab()
{
WebView *w = newWebView();
- HomePage p(w);
-
switch(ReKonfig::newTabsBehaviour())
{
case 0:
- w->setHtml( p.rekonqHomePage() );
+ Application::instance()->homePage();
break;
case 1:
urlBar()->setUrl(KUrl(""));
@@ -581,6 +579,7 @@ QLabel *MainView::animatedLoading(int index, bool addMovie)
return label;
}
+
void MainView::resizeEvent(QResizeEvent *event)
{
KTabWidget::resizeEvent(event);
@@ -592,6 +591,7 @@ KUrl::List MainView::recentlyClosedTabs()
return m_recentlyClosedTabs;
}
+
void MainView::mouseMoveEvent(QMouseEvent *event)
{
//Find the tab under the mouse
@@ -634,6 +634,7 @@ void MainView::leaveEvent(QEvent *event)
KTabWidget::leaveEvent(event);
}
+
void MainView::showTabPreview(int tab)
{
int w=200;