diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-02-26 00:16:52 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-02-26 00:16:52 +0100 |
commit | 90c6462e87b38b5c98b6eba7dc282fb234afbe23 (patch) | |
tree | 7f04e100e82d1547a41d5b8c6ff2efd9c321e039 /src | |
parent | 1st fixes to bookmarks system, toolbar and menu. Needs care and docs.. (diff) | |
download | rekonq-90c6462e87b38b5c98b6eba7dc282fb234afbe23.tar.xz |
QDesktopServices --> KStandardDirs
Diffstat (limited to 'src')
-rw-r--r-- | src/application.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/application.cpp b/src/application.cpp index 315c5cf1..7475f1c6 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -37,6 +37,7 @@ // KDE Includes #include <KCmdLineArgs> #include <KAboutData> +#include <KStandardDirs> #include <KConfig> #include <kio/job.h> #include <kio/jobclasses.h> @@ -45,13 +46,11 @@ #include <QBuffer> #include <QDir> #include <QTextStream> -#include <QDesktopServices> #include <QFileOpenEvent> -#include <QLocalServer> -#include <QLocalSocket> #include <QNetworkProxy> #include <QWebSettings> #include <QDebug> +#include <QMessageBox> @@ -110,7 +109,7 @@ Application *Application::instance() void Application::postLaunch() { // set Icon Database Path to store "favicons" associated with web sites - QString directory = QDesktopServices::storageLocation(QDesktopServices::DataLocation); + QString directory = KStandardDirs::locateLocal( "cache" , "" , true ); if ( directory.isEmpty() ) { directory = QDir::homePath() + QLatin1String("/.") + QCoreApplication::applicationName(); |