[Digikam-devel] [Bug 134037] order of images returned is not same as that of current digikam view

Angelo Naselli anaselli at linux.it
Fri Nov 17 22:29:12 GMT 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=134037         




------- Additional Comments From anaselli linux it  2006-11-17 23:29 -------
SVN commit 605713 by anaselli:

setProgramLogo is defined from kde 3.4.0 on
CCBUG: 134037

 M  +4 -1      kpaboutdata.cpp  


--- trunk/extragear/libs/kipi-plugins/common/libkipiplugins/kpaboutdata.cpp #605712:605713
 @ -24,6 +24,7  @
 #include <kglobal.h>
 #include <kstandarddirs.h>
 #include <kglobalsettings.h>
+#include <kdeversion.h>
 
 #include "kpaboutdata.h"
 #include "pluginsversion.h"
 @ -43,13 +44,15  @
                                                                   pluginDescription,
                                                                   "http://www.kipi-plugins.org")
   {
+#if KDE_IS_VERSION(3,4,0)
+    // setProgramLogo is defined from kde 3.4.0 on
     QString directory;
     KGlobal::dirs()->addResourceType("kipi_plugins_logo", KGlobal::dirs()->kde_default("data") + "kipi/data");
     directory = KGlobal::dirs()->findResourceDir("kipi_plugins_logo", "kipi-plugins_logo.png");
 
     // set the kipiplugins logo inside the about dialog
     setProgramLogo(QImage(directory + "kipi-plugins_logo.png"));
-
+#endif
     // set the plugin description into long text description
     setOtherText(pluginDescription);



More information about the Digikam-devel mailing list