mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-01-18 12:15:27 +00:00
Fixed a couple of Qt 5.3 problems.
This commit is contained in:
parent
85c7d8ea97
commit
8ec688f1d9
@ -133,9 +133,8 @@ Tab{
|
||||
minimumValue: 0
|
||||
onValueChanged: shadersettings.window_scaling = value;
|
||||
value: shadersettings.window_scaling
|
||||
updateValueWhileDragging: false
|
||||
}
|
||||
Text{text: Math.round(txtslider.__handlePos * 100) + "%"}
|
||||
Text{text: Math.round(txtslider.value * 100) + "%"}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -30,6 +30,9 @@ ApplicationWindow{
|
||||
width: 1024
|
||||
height: 768
|
||||
|
||||
minimumWidth: 320
|
||||
minimumHeight: 240
|
||||
|
||||
title: qsTr("cool-old-term")
|
||||
visible: true
|
||||
visibility: shadersettings.fullscreen ? Window.FullScreen : Window.Windowed
|
||||
|
@ -393,7 +393,9 @@ void KTerminalDisplay::setVTFont(const QFont& f)
|
||||
qDebug() << "Using an unsupported variable-width font in the terminal. This may produce display errors.";
|
||||
}
|
||||
|
||||
if ( metrics.height() < height() && metrics.maxWidth() < width() )
|
||||
// TODO For some reasons this is bugged with Qt 5.3
|
||||
//if ( metrics.height() < height() && metrics.maxWidth() < width() )
|
||||
if (font.pixelSize() > 0)
|
||||
{
|
||||
// hint that text should be drawn without anti-aliasing.
|
||||
// depending on the user's font configuration, this may not be respected
|
||||
|
Loading…
x
Reference in New Issue
Block a user