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

List:       kde-commits
Subject:    kdebase/kdeprint/kdeprintfax
From:       Oswald Buddenhagen <ossi () kde ! org>
Date:       2004-01-10 19:29:34
Message-ID: 20040110192934.1C5BB71A () office ! kde ! org
[Download RAW message or body]

CVS commit by ossi: 

micro-optimization


  M +3 -3      faxctrl.cpp   1.25


--- kdebase/kdeprint/kdeprintfax/faxctrl.cpp  #1.24:1.25
@@ -402,5 +402,5 @@ void FaxCtrl::addLogTitle( const QString
 {
         QString t( s );
-        t.prepend( "\n" ).append( "\n" );
+        t.prepend( '\n' ).append( '\n' );
         addLog( t, true );
 }
@@ -411,5 +411,5 @@ void FaxCtrl::addLog(const QString& s, b
         if ( isTitle )
                 t.prepend( "<font color=red><b>" ).append( "</b></font>" );
-        m_log.append( t + "\n" );
+        m_log.append( t + '\n' );
         if (m_logview)
                 m_logview->append(t);
@@ -467,5 +467,5 @@ void FaxCtrl::slotPrintLog()
                         QString txt = m_log;
 
-                        txt.replace( "\n", "<br>" );
+                        txt.replace( '\n', "<br>" );
                         txt.prepend( "<h2>" + i18n( "KDEPrint Fax Tool Log" ) + "</h2>" );
 


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

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