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

List:       kde-commits
Subject:    koffice/kexi/plugins/reportspgz/backend
From:       Jaroslaw Staniek <js () iidea ! pl>
Date:       2009-03-15 22:06:32
Message-ID: 1237154792.191270.29569.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 939883 by staniek:

remove Qt3Support deps


 M  +2 -9      common/krimagedata.cpp  
 M  +1 -1      wrtembed/sectioneditor.cpp  


--- trunk/koffice/kexi/plugins/reportspgz/backend/common/krimagedata.cpp \
#939882:939883 @@ -122,16 +122,9 @@
             _staticImage->setValue(blank);
         }
     } else {
-
-        QByteArray binaryStream;
-
-        binaryStream = KCodecs::base64Decode(dat);
-        QImage img(binaryStream);
-        QPixmap pix;
-        pix.convertFromImage(img, QPixmap::Color);
-
+        const QByteArray binaryStream(KCodecs::base64Decode(dat));
+        const QPixmap pix( QPixmap::fromImage(QImage::fromData(binaryStream), \
Qt::ColorOnly) );  _staticImage->setValue(pix);
-
     }
 
 }
--- trunk/koffice/kexi/plugins/reportspgz/backend/wrtembed/sectioneditor.cpp \
#939882:939883 @@ -268,7 +268,7 @@
 
         dgsd->cbColumn->clear();
         dgsd->cbColumn->insertItems(0, rw->fieldList());
-        dgsd->cbColumn->setCurrentText(rsdg->column());
+        dgsd->cbColumn->setEditText(rsdg->column());
 
         dgsd->breakAfterFooter->setChecked(rsdg->pageBreak() == \
ReportSectionDetailGroup::BreakAfterGroupFooter);  \
dgsd->cbHead->setChecked(rsdg->isGroupHeadShowing());


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

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