Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
f52e1887
Commit
f52e1887
authored
Feb 09, 2010
by
con
Browse files
Move active target name neatly to the middle.
parent
aa094ee8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/targetselector.cpp
View file @
f52e1887
...
...
@@ -161,7 +161,7 @@ void TargetSelector::paintEvent(QPaintEvent *event)
targetName
=
QChar
(
'*'
)
+
target
.
name
+
QChar
(
'*'
);
else
targetName
=
target
.
name
;
p
.
drawText
(
x
+
(
TARGET_WIDTH
-
fm
.
width
(
target
.
n
ame
))
/
2
+
1
,
7
+
fm
.
ascent
(),
p
.
drawText
(
x
+
(
TARGET_WIDTH
-
fm
.
width
(
target
N
ame
))
/
2
+
1
,
7
+
fm
.
ascent
(),
targetName
);
x
+=
TARGET_WIDTH
;
p
.
drawLine
(
x
,
1
,
x
,
TARGET_HEIGHT
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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