[Kst] extragear/graphics/kst/src/datasources/qimagesource

Eli Fidler eli at staikos.net
Tue Feb 27 00:30:29 CET 2007


SVN commit 637590 by fidler:

revert part of commit 636383. I think the Qt4 code was ported back by
mistake.


 M  +1 -1      qimagesource.cpp  


--- trunk/extragear/graphics/kst/src/datasources/qimagesource/qimagesource.cpp #637589:637590
@@ -266,7 +266,7 @@
   if (typeSuggestion) {
     *typeSuggestion = "QImage compatible Image";
   }
-  if ( !QImage::imageFormat( filename ).isEmpty() ) {
+  if ( QImage::imageFormat( filename ) ) {
     fieldList.append("INDEX");
     fieldList.append( "GRAY" );
     fieldList.append( "RED" );


More information about the Kst mailing list