forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.7'
Change-Id: I3c5d7e9e8c589ad4425cd89d61e1f572f5cb7997
This commit is contained in:
@@ -489,7 +489,13 @@ void AppOutputPane::appendMessage(RunControl *rc, const QString &out, Utils::Out
|
||||
const int index = indexOf(rc);
|
||||
if (index != -1) {
|
||||
Core::OutputWindow *window = m_runControlTabs.at(index).window;
|
||||
window->appendMessage(out, format);
|
||||
QString stringToWrite;
|
||||
if (format == Utils::NormalMessageFormat || format == Utils::ErrorMessageFormat) {
|
||||
stringToWrite = QTime::currentTime().toString();
|
||||
stringToWrite += QLatin1String(": ");
|
||||
}
|
||||
stringToWrite += out;
|
||||
window->appendMessage(stringToWrite, format);
|
||||
if (format != Utils::NormalMessageFormat) {
|
||||
if (m_runControlTabs.at(index).behaviorOnOutput == Flash)
|
||||
flash();
|
||||
|
||||
Reference in New Issue
Block a user