Qt buildfix

This commit is contained in:
Henrik Rydgård 2017-01-17 21:20:11 +07:00
parent 1b158c116c
commit 3eaa815704

View file

@ -210,8 +210,7 @@ QString MainUI::InputBoxGetQString(QString title, QString defaultValue)
void MainUI::resizeGL(int w, int h)
{
bool smallWindow = g_Config.IsPortrait() ? (h < 480 + 80) : (w < 480 + 80);
if (UpdateScreenScale(w, h, smallWindow)) {
if (UpdateScreenScale(w, h)) {
NativeMessageReceived("gpu resized", "");
}
xscale = w / this->width();