From ab3ea08625648cf1f9f00cc9bcda5e06d2b8ffa9 Mon Sep 17 00:00:00 2001 From: Emmanuel Pescosta Date: Mon, 15 Sep 2014 18:17:30 +0200 Subject: * Fixed wrong signal-slot connection between KUrlNavigator and DolphinMainWindow * Use the new syntax to connect to DolphinMainWindow::openNewTab from the url navigator and from folders panel (removed the unused optional parameters from openNewTab and openNewActivatedTab) --- src/dolphinmainwindow.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/dolphinmainwindow.h') diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index ae3019794..e7a366800 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -335,16 +335,14 @@ private slots: void openNewActivatedTab(); /** - * Opens a new tab in the background showing the URL \a primaryUrl and the - * optional URL \a secondaryUrl. + * Opens a new tab in the background showing the URL \a url. */ - void openNewTab(const KUrl& primaryUrl, const KUrl& secondaryUrl = KUrl()); + void openNewTab(const KUrl& url); /** - * Opens a new tab showing the URL \a primaryUrl and the optional URL - * \a secondaryUrl and activates the tab. + * Opens a new tab showing the URL \a url and activates the tab. */ - void openNewActivatedTab(const KUrl& primaryUrl, const KUrl& secondaryUrl = KUrl()); + void openNewActivatedTab(const KUrl& url); /** * Opens the selected folder in a new tab. -- cgit v1.3