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
c19d4cdd
Commit
c19d4cdd
authored
Jul 22, 2002
by
Stephan Binner
Browse files
Another helpless commit to may spot source of crash #45148.
svn path=/trunk/kdebase/konsole/; revision=168198
parent
fc544a8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
konsole/TEWidget.cpp
View file @
c19d4cdd
...
...
@@ -242,7 +242,7 @@ void TEWidget::fontChange(const QFont &)
//printf("font_w: %d\n",font_w);
//printf("font_a: %d\n",font_a);
//printf("rawname: %s\n",font().rawName().ascii());
#if QT_VERSION < 300
fontMap
=
strcmp
(
QFont
::
encodingName
(
font
().
charSet
()).
ascii
(),
"iso10646"
)
?
vt100extended
...
...
@@ -251,7 +251,7 @@ void TEWidget::fontChange(const QFont &)
#if defined(Q_CC_GNU)
#warning TODO: Review/fix vt100 extended font-mapping
#endif
fontMap
=
identicalMap
;
fontMap
=
identicalMap
;
#endif
propagateSize
();
update
();
...
...
@@ -1507,6 +1507,11 @@ void TEWidget::calcGeometry()
scrollbar
->
show
();
break
;
}
if
(
columns
<
1
)
{
kdDebug
(
1211
)
<<
"TEWidget::calcGeometry: columns="
<<
columns
<<
endl
;
columns
=
1
;
}
//FIXME: support 'rounding' styles
lines
=
(
contentsRect
().
height
()
-
2
*
rimY
)
/
font_h
;
}
...
...
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