Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Tobias Hunger
qt-creator
Commits
d732e581
Commit
d732e581
authored
Mar 22, 2011
by
Kai Koehne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DebugHelper: Disable 'Build All' button if there isn't anything to build
Task-number: QTCREATORBUG-4176
parent
5c056505
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
src/plugins/qt4projectmanager/qtoptionspage.cpp
src/plugins/qt4projectmanager/qtoptionspage.cpp
+8
-4
No files found.
src/plugins/qt4projectmanager/qtoptionspage.cpp
View file @
d732e581
...
...
@@ -575,10 +575,14 @@ void QtOptionsPageWidget::updateDebuggingHelperUi()
const
bool
hasLog
=
currentItem
&&
!
currentItem
->
data
(
0
,
BuildLogRole
).
toString
().
isEmpty
();
m_debuggingHelperUi
->
showLogButton
->
setEnabled
(
hasLog
);
m_debuggingHelperUi
->
rebuildButton
->
setEnabled
(
!
isBuildingGdbHelper
&&
!
isBuildingQmlDumper
&&
!
isBuildingQmlDebuggingLib
&&
!
isBuildingQmlObserver
);
m_debuggingHelperUi
->
rebuildButton
->
setEnabled
((
!
isBuildingGdbHelper
&&
!
isBuildingQmlDumper
&&
!
isBuildingQmlDebuggingLib
&&
!
isBuildingQmlObserver
)
&&
(
canBuildGdbHelper
||
canBuildQmlDumper
||
canBuildQmlDebuggingLib
||
canBuildQmlObserver
));
m_ui
->
debuggingHelperWidget
->
setVisible
(
true
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment