[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [rekonq/frameworks] /: Create on startup ALL the dirs we need...
From:       Andrea Diamantini <adjam7 () gmail ! com>
Date:       2014-10-03 17:14:02
Message-ID: E1Xa6Qc-0000Xr-1i () scm ! kde ! org
[Download RAW message or body]

Git commit 5882613c8c99c054ee1862f7bdb0297623cf75a9 by Andrea Diamantini.
Committed on 03/10/2014 at 17:15.
Pushed by adjam into branch 'frameworks'.

Create on startup ALL the dirs we need...

M  +0    -1    CMakeLists.txt
M  +1    -0    src/application.cpp

http://commits.kde.org/rekonq/5882613c8c99c054ee1862f7bdb0297623cf75a9

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ea5bd5d..66941c1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -55,7 +55,6 @@ FIND_PACKAGE(Qt5 ${QT_MIN_VERSION} REQUIRED
 
 SET (KF5_MIN_VERSION "5.0.0")
 
-# FIXME: Min version check
 FIND_PACKAGE (KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
     Bookmarks
     DBusAddons
diff --git a/src/application.cpp b/src/application.cpp
index efe8cb9..c7c297d 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -78,6 +78,7 @@ Application::Application(int &argc, char **argv)
 
     QString rekonqCacheDir = QStandardPaths::writableLocation(QStandardPaths::CacheLocation);
     d.mkpath(rekonqCacheDir);
+    d.mkpath(rekonqCacheDir + QL1S("/thumbs/") );
 
     QString rekonqTempDir = QStandardPaths::writableLocation(QStandardPaths::TempLocation);
     d.mkpath(rekonqTempDir);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic