X11 compil fix, sorry.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26489 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-09-22 06:48:08 +00:00
parent 1cd01f0db4
commit 305079fb23

View File

@ -370,8 +370,8 @@ bool GuiView::restoreLayout()
setIconSize(settings.value(icon_key).toSize()); setIconSize(settings.value(icon_key).toSize());
#ifdef Q_WS_X11 #ifdef Q_WS_X11
QPoint pos = settings.value(key + "/pos", QPoint(50, 50)).toPoint(); QPoint pos = settings.value("pos", QPoint(50, 50)).toPoint();
QSize size = settings.value(key + "/size", QSize(690, 510)).toSize(); QSize size = settings.value("size", QSize(690, 510)).toSize();
resize(size); resize(size);
move(pos); move(pos);
#else #else