git-svn-id: svn://db.shs.com.ru/libs@592 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user