summaryrefslogtreecommitdiff
path: root/src/sidepanel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sidepanel.cpp')
-rw-r--r--src/sidepanel.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/sidepanel.cpp b/src/sidepanel.cpp
index 7156c3d5..c4ba6c2a 100644
--- a/src/sidepanel.cpp
+++ b/src/sidepanel.cpp
@@ -36,10 +36,9 @@ SidePanel::SidePanel(const QString &title, QWidget *parent, Qt::WindowFlags flag
setAllowedAreas(Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea);
setShown(ReKonfig::showSideBar());
-
- connect(m_panelHistory, SIGNAL(openUrl(const KUrl &, Rekonq::OpenType)),
- this, SIGNAL(openUrl(const KUrl &, Rekonq::OpenType)));
-
+
+ connect(m_panelHistory, SIGNAL(openUrl(const KUrl&)), this, SIGNAL(openUrl(const KUrl&)));
+
setWidget(m_panelHistory);
}
@@ -48,7 +47,7 @@ SidePanel::~SidePanel()
{
// Save side panel's state
ReKonfig::setShowSideBar(!isHidden());
-
+
delete m_panelHistory;
}