From 8133bde2b48b8a9881812e9d04e58ae41697698f Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 24 Jul 2009 10:32:27 +0200 Subject: Trivial fix. Yesterday was late night ;) This patch lets rekonq to load url in.. the current page instead of loading infinite new tabs... :) --- src/application.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/application.h') diff --git a/src/application.h b/src/application.h index 6f726154..615bfe6b 100644 --- a/src/application.h +++ b/src/application.h @@ -67,9 +67,10 @@ namespace Rekonq */ enum OpenType { - Default, ///< open url according to users settings - New, ///< open url in new tab and make it current - Background ///< open url in new tab in background + CurrentTab, ///< open url in current tab + SettingOpenTab, ///< open url according to users settings + NewTab, ///< open url in new tab and make it current + BackgroundTab ///< open url in new tab in background }; } @@ -107,11 +108,11 @@ public slots: public slots: void loadUrl( const KUrl& url, - const Rekonq::OpenType& type = Rekonq::Default + const Rekonq::OpenType& type = Rekonq::CurrentTab ); void loadUrl( const QString& urlString, - const Rekonq::OpenType& type = Rekonq::Default + const Rekonq::OpenType& type = Rekonq::CurrentTab ); -- cgit v1.2.1