summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-02-09 11:56:16 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-02-09 11:56:16 +0100
commit7628a51f8afe0518c05ab41348560852ed313a34 (patch)
tree5150d7ea86dc7d72354e5dab696b0b19d214986d /src
parentFix NewTabPage API && comments (diff)
downloadrekonq-7628a51f8afe0518c05ab41348560852ed313a34.tar.xz
Free MainWindow from PreviewSelectorBar
WARNING: it doesn't compile
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.cpp5
-rw-r--r--src/mainwindow.h4
2 files changed, 1 insertions, 8 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 9e6bfb03..e4890b72 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -98,7 +98,6 @@ MainWindow::MainWindow()
: KMainWindow()
, m_view( new MainView(this) )
, m_findBar( new FindBar(this) )
- , m_previewSelectorBar( new PreviewSelectorBar(this) )
, m_historyPanel(0)
, m_bookmarksPanel(0)
, m_webInspectorPanel(0)
@@ -123,7 +122,6 @@ MainWindow::MainWindow()
QVBoxLayout *layout = new QVBoxLayout;
layout->setContentsMargins(0, 0, 0, 0);
layout->addWidget(m_view);
- layout->addWidget(m_previewSelectorBar);
layout->addWidget(m_findBar);
centralWidget->setLayout(layout);
@@ -650,9 +648,6 @@ void MainWindow::updateActions()
QAction *historyForwardAction = actionByName(KStandardAction::name(KStandardAction::Forward));
historyForwardAction->setEnabled(currentTab()->view()->history()->canGoForward());
-
- if(m_previewSelectorBar->isVisible())
- m_previewSelectorBar->setPage(currentTab()->page());
}
diff --git a/src/mainwindow.h b/src/mainwindow.h
index f7746893..7a51cc10 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -1,5 +1,5 @@
-class PreviewSelectorBar;/* ============================================================
+/* ============================================================
*
* This file is a part of the rekonq project
*
@@ -159,8 +159,6 @@ private:
MainView *m_view;
FindBar *m_findBar;
- PreviewSelectorBar *m_previewSelectorBar;
-
HistoryPanel *m_historyPanel;
BookmarksPanel *m_bookmarksPanel;
WebInspectorPanel *m_webInspectorPanel;