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

List:       kde-commits
Subject:    branches/KDE/4.2/kdelibs/kio/kio
From:       Christian Ehrlicher <Ch.Ehrlicher () gmx ! de>
Date:       2009-02-16 19:36:32
Message-ID: 1234812992.897403.12607.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 927091 by chehrlic:

QFile::exists() needs a QString, not a QByteArray

 M  +1 -1      copyjob.cpp  


--- branches/KDE/4.2/kdelibs/kio/kio/copyjob.cpp #927090:927091
@@ -1637,7 +1637,7 @@
             kDebug(7007) << "KTemporaryFile using" << _tmp << "as intermediary";
             if ( KDE_rename( _src, _tmp ) == 0 )
             {
-                if ( !QFile::exists( _dest ) && KDE_rename( _tmp, _dest ) == 0 )
+                if ( !QFile::exists( dest.path() ) && KDE_rename( _tmp, _dest ) == 0 )
                 {
                     kDebug(7007) << "Success.";
                     err = 0;
[prev in list] [next in list] [prev in thread] [next in thread] 

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