diff options
| author | Sebastian Trueg <[email protected]> | 2010-07-22 08:26:09 +0000 |
|---|---|---|
| committer | Sebastian Trueg <[email protected]> | 2010-07-22 08:26:09 +0000 |
| commit | 4189ba1e74ec64783a7d87913df7315875819775 (patch) | |
| tree | e5a80586f5858edd540a7ed2d57056a0bfbe95bc /src | |
| parent | ed68687614472e18904c4a3f613d01df2f5bb90e (diff) | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/search/dolphinsearchoptionsconfigurator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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(); |
