git-svn-id: svn://db.shs.com.ru/libs@592 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2019-09-17 16:59:47 +00:00
parent 8cea2b4e76
commit b103b76f2d

View File

@@ -118,8 +118,7 @@ void restoreWindowState(QWidget * w, QPIConfig & sr, QString name) {
#if QT_VERSION < 0x050000
wnd_ok = (QApplication::desktop()->screenNumber(w) >= 0);
if (!wnd_ok) {
w->setGeometry(0, 0, w->width(), w->height());
srect = QApplication::desktop(w)->geometry();
srect = QApplication::desktop()->geometry();
}
#else
QList<QScreen*> sl = QApplication::screens();