[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdepim/plugins/kmail/bodypartformatter
From: Bo Thorsen <bo () sonofthor ! dk>
Date: 2004-05-12 19:01:56
Message-ID: 20040512190156.12B401D91 () office ! kde ! org
[Download RAW message or body]
CVS commit by thorsen:
If the dir doesn't exist, make it
M +3 -0 text_calendar.cpp 1.15
--- kdepim/plugins/kmail/bodypartformatter/text_calendar.cpp #1.14:1.15
@@ -55,4 +55,5 @@
#include <qurl.h>
#include <qfile.h>
+#include <qdir.h>
using namespace KCal;
@@ -532,4 +533,6 @@ class UrlHandler : public KMail::Interfa
QString location = locateLocal( "data", "korganizer/income." + type,
true );
+ QDir dir;
+ if ( !dir.exists( location ) ) dir.mkdir( location );
QString file;
do {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic