From: Sebastian Trueg Date: Thu, 22 Jul 2010 08:26:09 +0000 (+0000) Subject: Do not add custom query items to the query URL. Instead use the existing method to... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/4189ba1e74ec64783a7d87913df7315875819775 Do not add custom query items to the query URL. Instead use the existing method to specify a custom title. svn path=/trunk/KDE/kdebase/apps/; revision=1152960 --- diff --git a/src/search/dolphinsearchoptionsconfigurator.cpp b/src/search/dolphinsearchoptionsconfigurator.cpp index 51d90203b..e51ab8c64 100644 --- a/src/search/dolphinsearchoptionsconfigurator.cpp +++ b/src/search/dolphinsearchoptionsconfigurator.cpp @@ -202,9 +202,9 @@ KUrl DolphinSearchOptionsConfigurator::nepomukSearchUrl() const { const Nepomuk::Query::Query query = nepomukQuery(); if ( query.isValid() ) { - KUrl url = query.toSearchUrl(); - url.addQueryItem( QLatin1String( "userquery" ), customSearchQuery() ); - return url; + return query.toSearchUrl( i18nc( "@title UDS_DISPLAY_NAME for a KIO directory listing. %1 is the query the user entered.", + "Query Results from '%1'", + customSearchQuery() ) ); } else { return KUrl();