OSDN Git Service
(root)
/
qt-creator-jp
/
qt-creator-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4309299
)
QtOptionsPage: Fix disabled buttons after "Build All" for helpers
author
Kai Koehne
<kai.koehne@nokia.com>
Wed, 19 Oct 2011 10:23:56 +0000
(12:23 +0200)
committer
Kai Koehne
<kai.koehne@nokia.com>
Wed, 19 Oct 2011 11:34:28 +0000
(13:34 +0200)
Remove unbuildable helpers in the table of current ongoing builds.
Task-number: QTCREATORBUG-6320
Change-Id: I55c73a868c87d8cd382e4bbae3ed507dc7ed052b
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
src/plugins/qtsupport/qtoptionspage.cpp
patch
|
blob
|
history
diff --git
a/src/plugins/qtsupport/qtoptionspage.cpp
b/src/plugins/qtsupport/qtoptionspage.cpp
index
b9bdcc1
..
e6a808a
100644
(file)
--- a/
src/plugins/qtsupport/qtoptionspage.cpp
+++ b/
src/plugins/qtsupport/qtoptionspage.cpp
@@
-467,6
+467,9
@@
void QtOptionsPageWidget::buildDebuggingHelper(DebuggingHelperBuildTask::Tools t
if (index < 0)
return;
+ // remove tools that cannot be build
+ tools &= DebuggingHelperBuildTask::availableTools(currentVersion());
+
QTreeWidgetItem *item = treeItemForIndex(index);
QTC_ASSERT(item, return);