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
Utilities
Konsole
Commits
721bc4a9
Commit
721bc4a9
authored
Nov 16, 2021
by
Tomaz Canabrava
Browse files
Remove unused variable
parent
01b73503
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/terminalDisplay/TerminalPainter.cpp
View file @
721bc4a9
...
...
@@ -96,7 +96,6 @@ void TerminalPainter::drawContents(Character *image,
// TODO: Move all those lambdas to Character, so it's easy to test.
const
bool
lineDraw
=
LineBlockCharacters
::
canDraw
(
image
[
display
->
loc
(
x
,
y
)].
character
);
const
bool
doubleWidth
=
(
image
[
qMin
(
display
->
loc
(
x
,
y
)
+
1
,
imageSize
-
1
)].
character
==
0
);
const
RenditionFlags
currentRendition
=
image
[
display
->
loc
(
x
,
y
)].
rendition
;
const
auto
isInsideDrawArea
=
[
&
](
int
column
)
{
return
column
<=
rect
.
right
();
...
...
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