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
Toggle navigation
Open sidebar
Utilities
Konsole
Commits
e56bbb5b
Commit
e56bbb5b
authored
Apr 11, 2017
by
Kurt Hindenburg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use static_cast instead of old cast
parent
614580fb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/TerminalDisplay.cpp
src/TerminalDisplay.cpp
+6
-6
No files found.
src/TerminalDisplay.cpp
View file @
e56bbb5b
...
...
@@ -242,13 +242,13 @@ void TerminalDisplay::setVTFont(const QFont& f)
QString
nonMatching
=
fontInfo
.
family
()
%
comma
%
QString
::
number
(
fontInfo
.
pointSizeF
())
%
comma
%
QString
::
number
(
fontInfo
.
pixelSize
())
%
comma
%
QString
::
number
(
(
int
)
fontInfo
.
styleHint
())
%
comma
%
QString
::
number
(
static_cast
<
int
>
(
fontInfo
.
styleHint
())
)
%
comma
%
QString
::
number
(
fontInfo
.
weight
())
%
comma
%
QString
::
number
(
(
int
)
fontInfo
.
style
())
%
comma
%
QString
::
number
(
(
int
)
fontInfo
.
underline
())
%
comma
%
QString
::
number
(
(
int
)
fontInfo
.
strikeOut
())
%
comma
%
QString
::
number
(
(
int
)
fontInfo
.
fixedPitch
())
%
comma
%
QString
::
number
(
(
int
)
fontInfo
.
rawMode
());
QString
::
number
(
static_cast
<
int
>
(
fontInfo
.
style
())
)
%
comma
%
QString
::
number
(
static_cast
<
int
>
(
fontInfo
.
underline
())
)
%
comma
%
QString
::
number
(
static_cast
<
int
>
(
fontInfo
.
strikeOut
())
)
%
comma
%
QString
::
number
(
static_cast
<
int
>
(
fontInfo
.
fixedPitch
())
)
%
comma
%
QString
::
number
(
static_cast
<
int
>
(
fontInfo
.
rawMode
())
)
;
qCDebug
(
KonsoleDebug
)
<<
"The font to use in the terminal can not be matched exactly on your system."
;
qCDebug
(
KonsoleDebug
)
<<
" Selected: "
<<
newFont
.
toString
();
...
...
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