OSDN Git Service

Symbian: fixed a output window bug that came form fixing window related bug
authorPawel Polanski <pawel.3.polanski@nokia.com>
Tue, 5 Apr 2011 14:48:23 +0000 (16:48 +0200)
committerPawel Polanski <pawel.3.polanski@nokia.com>
Thu, 7 Apr 2011 13:00:42 +0000 (15:00 +0200)
src/plugins/qt4projectmanager/qt-s60/s60runcontrolbase.cpp
src/plugins/qt4projectmanager/qt-s60/s60runcontrolbase.h

index 09f7cc5..ea54697 100644 (file)
@@ -252,3 +252,11 @@ char S60RunControlBase::installationDrive() const
 {
     return m_installationDrive;
 }
+
+void S60RunControlBase::appendMessage(const QString &msg, ProjectExplorer::OutputFormat format, bool addNewLine)
+{
+    if (addNewLine)
+        RunControl::appendMessage(msg + '\n', format);
+    else
+        RunControl::appendMessage(msg, format);
+}
index d0a567d..c9d14ce 100644 (file)
@@ -78,8 +78,10 @@ protected:
 private:
     void startLaunching();
 
+
 protected slots:
     void reportLaunchFinished();
+    void appendMessage(const QString &msg, ProjectExplorer::OutputFormat format, bool addNewLine=true);
 
 private slots:
     void handleFinished();