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

List:       kde-core-devel
Subject:    KDE/kdebase/workspace/kcontrol/kthememanager
From:       Rafael Fernández López <ereslibre () kde ! org>
Date:       2007-11-28 19:30:31
Message-ID: 1196278231.063327.29795.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 742728 by ereslibre:

There are some cases (like when nothing is cached) that this operation can take more \
than 500 ms. This method is indirectly called from the constructor of the \
kthememanager  if you follow the calls from m_origTheme->createYourself(). In this \
call we can assure no dialog is shown because of the flag. We do so.

CCMAIL: kde-core-devel@kde.org


 M  +1 -1      ktheme.cpp  


--- trunk/KDE/kdebase/workspace/kcontrol/kthememanager/ktheme.cpp #742727:742728
@@ -878,7 +878,7 @@
 bool KTheme::copyFile( const QString & from, const QString & to )
 {
     // we overwrite b/c of restoring the "original" theme
-    return KIO::file_copy( KUrl(from), KUrl(to), -1, KIO::Overwrite /*overwrite*/ );
+    return KIO::file_copy( KUrl(from), KUrl(to), -1, KIO::HideProgressInfo | \
KIO::Overwrite /*overwrite*/ );  }
 
 QString KTheme::findResource( const QString & section, const QString & path )


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

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