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

List:       kde-commits
Subject:    kdevelop/parts/outputviews
From:       Bernd Pol <bernd.pol () online ! de>
Date:       2004-04-06 23:07:21
Message-ID: 20040406230721.78BC599F4 () office ! kde ! org
[Download RAW message or body]

CVS commit by brpol: 

Success prompt fixed


  M +5 -3      makeitem.cpp   1.13


--- kdevelop/parts/outputviews/makeitem.cpp  #1.12:1.13
@@ -124,8 +124,10 @@ ExitStatusItem::ExitStatusItem( bool nor
         , m_exitStatus( exitStatus )
 {
+//      kdDebug() << "ExitStatusItem: normalExit=" << normalExit << "; exitStatus=" \
<< exitStatus << endl;  m_text = i18n("*** Compilation aborted ***");
-        if ( m_normalExit && m_exitStatus )
-                m_text = i18n("*** Exited with status: %1 ***").arg( m_exitStatus );
         if ( m_normalExit )
+                if (m_exitStatus )
+                        m_text = i18n("*** Exited with status: %1 ***").arg( \
m_exitStatus ); +                else
                 m_text = i18n("*** Success ***");
 }


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

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