[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: koffice/kexi/plugins/kugar/kudesigner
From: Nicolas Goutte <nicolasg () snafu ! de>
Date: 2003-02-24 0:10:48
[Download RAW message or body]
You cannot use KURL::KURL(const QString&) on a QString that is containing a
path. You have to use KURL::setPath or it would break for non-Latin1 locales.
(I am just parroting what David told me, so please ask questions to him!)
Perhaps in this case it would be easier to use QFile::remove(const QString&)
Have a nice day/evening/night!
--- Original Message ---
Subject: koffice/kexi/plugins/kugar/kudesigner
From: Lucijan Busch <lucijan () gmx ! at>
Date: 2003-02-23 16:34:46
CVS commit by lucijan:
sorry jowenn, but a lot of people are complaing :)
M +2 -1 kudesigner_kexiplugin.cpp 1.8
--- koffice/kexi/plugins/kugar/kudesigner/kudesigner_kexiplugin.cpp #1.7:1.8
@@ -37,4 +37,5 @@
#include <ksimpleconfig.h>
#include <mycanvas.h>
+#include <kurl.h>
//BEGIN KuKexiDataSourceComboBox
@@ -254,5 +255,5 @@ bool KuKexi::store(KoStore*) {
if (filename.isEmpty()) return false;
if (KIO::NetAccess::exists(filename)) {
- if (!KIO::NetAccess::del(filename,0)) {
+ if (!KIO::NetAccess::del(KURL(filename))) {
kdDebug()<<"Couldn't delete temporary file
template.kukexi file"<<endl;
return false;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic