forked from qt-creator/qt-creator
Make IOutputPane behaviour more granular
The commit looks big, but it's mostly trivial. Also any build/run related popups are now "flashes" if the current mode has no placeholder. Task-number: QTCREATORBUG-7875 Change-Id: I3af40557f7af01798f905c0d1829423c80058cb6 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -65,7 +65,7 @@ void MessageManager::init()
|
||||
void MessageManager::showOutputPane()
|
||||
{
|
||||
if (m_messageOutputWindow)
|
||||
m_messageOutputWindow->popup(false);
|
||||
m_messageOutputWindow->popup(IOutputPane::ModeSwitch);
|
||||
}
|
||||
|
||||
void MessageManager::printToOutputPane(const QString &text, bool bringToForeground)
|
||||
@@ -73,7 +73,7 @@ void MessageManager::printToOutputPane(const QString &text, bool bringToForegrou
|
||||
if (!m_messageOutputWindow)
|
||||
return;
|
||||
if (bringToForeground)
|
||||
m_messageOutputWindow->popup(false);
|
||||
m_messageOutputWindow->popup(IOutputPane::ModeSwitch);
|
||||
m_messageOutputWindow->append(text + QLatin1Char('\n'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user