]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/lyx_gui.C
* frontends/qt3/QtView.C: use QRect ctor, coding style
[lyx.git] / src / frontends / qt4 / lyx_gui.C
index e1d8ce12ed80a06b7e54129b790431fb4e8266a3..32ef21f94fa98dccd5eaca2c23b0990d06a3d72e 100644 (file)
@@ -203,10 +203,8 @@ void start(string const & batch, vector<string> const & files,
        view.init();
 
        // only true when the -geometry option was NOT used
-       if (width != -1 && height != -1)
-       {
-               if (posx != -1 && posy != -1)
-               {
+       if (width != -1 && height != -1) {
+               if (posx != -1 && posy != -1) {
 #ifdef Q_OS_WIN32
                        // FIXME: use only setGeoemtry when Trolltech has
                        // fixed the qt4/X11 bug