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, 5 insertions, 4 deletions
diff --git a/src/sidepanel.cpp b/src/sidepanel.cpp
index c4ba6c2a..7156c3d5 100644
--- a/src/sidepanel.cpp
+++ b/src/sidepanel.cpp
@@ -36,9 +36,10 @@ 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&)), this, SIGNAL(openUrl(const KUrl&)));
-
+
+ connect(m_panelHistory, SIGNAL(openUrl(const KUrl &, Rekonq::OpenType)),
+ this, SIGNAL(openUrl(const KUrl &, Rekonq::OpenType)));
+
setWidget(m_panelHistory);
}
@@ -47,7 +48,7 @@ SidePanel::~SidePanel()
{
// Save side panel's state
ReKonfig::setShowSideBar(!isHidden());
-
+
delete m_panelHistory;
}