From 305079fb23104899e3287bae8c7edb2292867451 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Mon, 22 Sep 2008 06:48:08 +0000 Subject: [PATCH] X11 compil fix, sorry. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26489 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index bedae017e8..e944475f5f 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -370,8 +370,8 @@ bool GuiView::restoreLayout() setIconSize(settings.value(icon_key).toSize()); #ifdef Q_WS_X11 - QPoint pos = settings.value(key + "/pos", QPoint(50, 50)).toPoint(); - QSize size = settings.value(key + "/size", QSize(690, 510)).toSize(); + QPoint pos = settings.value("pos", QPoint(50, 50)).toPoint(); + QSize size = settings.value("size", QSize(690, 510)).toSize(); resize(size); move(pos); #else