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

List:       kde-commits
Subject:    koffice/kpresenter
From:       Lukáš Tinkl <lukas () kde ! org>
Date:       2003-02-28 15:27:22
[Download RAW message or body]

CVS commit by lukas: 

minor speedups


  M +0 -1      kpbackground.cc   1.85
  M +0 -3      kppixmapobject.cc   1.83
  M +2 -2      kpresenter_view.cc   1.949


--- koffice/kpresenter/kpbackground.cc  #1.84:1.85
@@ -189,5 +189,4 @@ QDomElement KPBackGround::save( QDomDocu
         element = doc.createElement( "PGSOUNDEFFECT" );
         element.setAttribute( "soundEffect", static_cast<int>(soundEffect) );
-        element.setAttribute( "soundFileNmae", soundFileName ); // old typo, keep saving for compat
         element.setAttribute( "soundFileName", soundFileName );
         page.appendChild( element );

--- koffice/kpresenter/kppixmapobject.cc  #1.82:1.83
@@ -306,6 +306,4 @@ QPixmap KPPixmapObject::generatePixmap(K
 
     paint.begin( &pixmap );
-
-    paint.setBackgroundMode(Qt::TransparentMode);
     pixmap.fill( Qt::white );
 

--- koffice/kpresenter/kpresenter_view.cc  #1.948:1.949
@@ -5980,5 +5980,5 @@ void KPresenterView::changeZoomMenu( int
         for (QStringList::Iterator it = itemsList.begin() ; it != itemsList.end() ; ++it)
         {
-            z = (*it).replace( QRegExp( "%" ), "" );
+            z = (*it).replace( "%", "" );
             z = z.simplifyWhiteSpace();
             val=z.toInt(&ok);
@@ -6048,5 +6048,5 @@ void KPresenterView::viewZoom( const QSt
     else
     {
-        z = z.replace( QRegExp( "%" ), "" );
+        z = z.replace( "%", "" );
         z = z.simplifyWhiteSpace();
         zoom = z.toInt(&ok);


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

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