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

List:       kde-commits
Subject:    playground/utils/rsibreak/src
From:       Tom Albers <tomalbers () kde ! nl>
Date:       2006-06-05 14:44:32
Message-ID: 1149518672.146284.3788.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 548426 by toma:

Playing with callgrind, i don't really understand it, but smoothscale seems to delay startup enormously. 


 M  +3 -1      rsiwidget.cpp  


--- trunk/playground/utils/rsibreak/src/rsiwidget.cpp #548425:548426
@@ -590,7 +590,9 @@
         m_basePath = path;
         m_searchRecursive = recursive;
         findImagesInFolder( path );
-        loadImage();
+        // LoadImage (smoothscale) takes some time, so when booting this seriously
+        // drains startup speed. So, deleay this a few seconds...
+        QTimer::singleShot(2000, this, SLOT(slotNewSlide()));
     }
 
     m_slideInterval = config->readNumEntry("SlideInterval", 2);
[prev in list] [next in list] [prev in thread] [next in thread] 

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