Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
a73a9dc3
Commit
a73a9dc3
authored
Apr 29, 2010
by
Jens Bache-Wiig
Browse files
Swap build/run buttons
This was unintentionally inverted after translations were introduced.
parent
aa63a8d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/targetselector.cpp
View file @
a73a9dc3
...
...
@@ -236,7 +236,7 @@ void TargetSelector::paintEvent(QPaintEvent *event)
else
p
.
setPen
(
buildSelected
?
Qt
::
black
:
Qt
::
white
);
p
.
drawText
(
textRect
,
Qt
::
AlignHCenter
,
run
String
);
p
.
drawText
(
textRect
,
Qt
::
AlignHCenter
,
build
String
);
// Run
textRect
.
moveLeft
(
x
+
targetWidth
()
/
2
-
2
*
margin
);
...
...
@@ -244,7 +244,7 @@ void TargetSelector::paintEvent(QPaintEvent *event)
p
.
setPen
(
QColor
(
0x555555
));
else
p
.
setPen
(
buildSelected
?
Qt
::
white
:
Qt
::
black
);
p
.
drawText
(
textRect
,
Qt
::
AlignHCenter
,
build
String
);
p
.
drawText
(
textRect
,
Qt
::
AlignHCenter
,
run
String
);
x
+=
targetWidth
();
...
...
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