From ff6e9333ad3b26f8efdf97e9081b4d67898b2bd9 Mon Sep 17 00:00:00 2001 From: Daniel Teske Date: Thu, 13 Sep 2012 15:50:06 +0200 Subject: 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 --- src/plugins/cpptools/cppfindreferences.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/cpptools/cppfindreferences.cpp') diff --git a/src/plugins/cpptools/cppfindreferences.cpp b/src/plugins/cpptools/cppfindreferences.cpp index 4e3c0c6f18..5d5b6795a7 100644 --- a/src/plugins/cpptools/cppfindreferences.cpp +++ b/src/plugins/cpptools/cppfindreferences.cpp @@ -285,7 +285,7 @@ void CppFindReferences::findAll_helper(Find::SearchResult *search) connect(search, SIGNAL(activated(Find::SearchResultItem)), this, SLOT(openEditor(Find::SearchResultItem))); - Find::SearchResultWindow::instance()->popup(true); + Find::SearchResultWindow::instance()->popup(Core::IOutputPane::ModeSwitch | Core::IOutputPane::WithFocus); const CppModelManagerInterface::WorkingCopy workingCopy = _modelManager->workingCopy(); QFuture result; result = QtConcurrent::run(&find_helper, workingCopy, @@ -661,7 +661,7 @@ void CppFindReferences::findMacroUses(const Macro ¯o, const QString &replace connect(search, SIGNAL(replaceButtonClicked(QString,QList)), SLOT(onReplaceButtonClicked(QString,QList))); - Find::SearchResultWindow::instance()->popup(true); + Find::SearchResultWindow::instance()->popup(Core::IOutputPane::ModeSwitch | Core::IOutputPane::WithFocus); connect(search, SIGNAL(activated(Find::SearchResultItem)), this, SLOT(openEditor(Find::SearchResultItem))); -- cgit v1.2.1