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

List:       kdevelop-devel
Subject:    kdevelop
From:       Andras Mantia <amantia () kde ! org>
Date:       2004-03-23 13:14:09
Message-ID: 20040323131409.C656E999B () office ! kde ! org
[Download RAW message or body]

CVS commit by amantia: 

Display the exit status messages (eg. Success). Might need to be backported.
"Fix" --enable-final compilation in languages/ada.

CCMAIL: kdevelop-devel@kdevelop.org


  M +2 -0      languages/ada/Makefile.am   1.11
  M +7 -5      parts/outputviews/makeitem.cpp   1.12


--- kdevelop/languages/ada/Makefile.am  #1.10:1.11
@@ -36,2 +36,4 @@
 rcdir = $(kde_datadir)/kdevadasupport
 rc_DATA = kdevadasupport.rc
+
+KDE_OPTIONS = nofinal

--- kdevelop/parts/outputviews/makeitem.cpp  #1.11:1.12
@@ -14,4 +14,5 @@
 #include <qstylesheet.h>
 
+#include <kdebug.h>
 #include <klocale.h>
 
@@ -123,13 +124,14 @@ ExitStatusItem::ExitStatusItem( bool nor
         , m_exitStatus( exitStatus )
 {
+        m_text = i18n("*** Compilation aborted ***");
+        if ( m_normalExit && m_exitStatus )
+                m_text = i18n("*** Exited with status: %1 ***").arg( m_exitStatus );
+        if ( m_normalExit )
+                m_text = i18n("*** Success ***");
 }
 
 QString ExitStatusItem::text( EOutputLevel )
 {
-        if ( m_normalExit && m_exitStatus )
-                return i18n("*** Exited with status: %1 ***").arg( m_exitStatus );
-        if ( m_normalExit )
-                return i18n("*** Success ***");
-        return i18n("*** Compilation aborted ***");
+        return m_text;  
 }
 



_______________________________________________
Kdevelop-devel mailing list
Kdevelop-devel@barney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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