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

List:       kde-commits
Subject:    extragear/graphics/digikam/showfoto
From:       Gilles Caulier <caulier.gilles () free ! fr>
Date:       2006-11-20 14:23:41
Message-ID: 1164032621.628478.27909.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 606463 by cgilles:

Showfoto from trunk : no need a Qtimer to dispatch change when removing a picture \
from the list. Call directly the slot instead.

BUG: 137612

 M  +1 -2      showfoto.cpp  


--- trunk/extragear/graphics/digikam/showfoto/showfoto.cpp #606462:606463
@@ -42,7 +42,6 @@
 #include <qfileinfo.h>
 #include <qfile.h>
 #include <qcursor.h>
-#include <qtimer.h>
 #include <qfileinfo.h>
 
 // KDE includes.
@@ -1087,7 +1086,7 @@
     else
     {
         d->currentItem = d->thumbBar->currentItem();
-        QTimer::singleShot(0, this, SLOT(slotOpenURL(d->currentItem->url())));
+        slotOpenURL(d->currentItem->url());
     }
 }
 


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

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