]> git.lyx.org Git - lyx.git/commitdiff
* src/lyxfunc.C:
authorMichael Schmitt <michael.schmitt@teststep.org>
Sat, 2 Dec 2006 21:27:31 +0000 (21:27 +0000)
committerMichael Schmitt <michael.schmitt@teststep.org>
Sat, 2 Dec 2006 21:27:31 +0000 (21:27 +0000)
* src/frontends/qt4/GuiView.C:
* src/lyx_main.C: fix various typos in comments

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16141 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiView.C
src/lyx_main.C
src/lyxfunc.C

index df06173e36208cda674ac3607f2a6799073c144c..63769e1f133e463049234f8afe6921790d15e98f 100644 (file)
@@ -157,8 +157,8 @@ GuiView::GuiView(int id)
 {
        // Qt bug? signal lastWindowClosed does not work
        setAttribute(Qt::WA_QuitOnClose, false);
-       // FIXME: enable to avoid memory leaks but it prduces a crash 
-       //        after a new window has been close (click into the menu)
+       // FIXME: the following statement avoids memory leaks but produces a
+       //        crash after a new window has been closed (click into the menu)
        //setAttribute(Qt::WA_DeleteOnClose, false);
 
        // hardcode here the platform specific icon size
@@ -221,8 +221,8 @@ void GuiView::closeEvent(QCloseEvent * close_event)
        theApp()->gui().unregisterView(id());   
        if (theApp()->gui().viewIds().empty())
        {
-               // this is the place were we leave the frontend
-               // and is the only point were we begin to quit
+               // this is the place where we leave the frontend.
+               // it is the only point at which we start quitting.
                saveGeometry();
                theBufferList().quitWriteAll();
                close_event->accept();
index a029f52e4162998e0b88feb265c52b5ff6d77cb1..caa2a2b6897730040b8fa97abcefda1667b6cf0a 100644 (file)
@@ -439,8 +439,8 @@ void LyX::prepareExit()
                pimpl_->lyx_socket_.reset();
        }
 
-       // Kill the application object before exiting. This avoid crash
-       // on exit on Linux.
+       // Kill the application object before exiting. This avoids crashes
+       // when exiting on Linux.
        if (pimpl_->application_)
                pimpl_->application_.reset();
 }
index 5a5e955dd9e375e5fda1b31d8cfccf0aee3611be..03d621e4d151417bdeb360c6e3e6ee8fc9ae66fe 100644 (file)
@@ -1045,7 +1045,7 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
                        
                        // save the geometry of the current view 
                        lyx_view_->saveGeometry();
-                       // quitting is trigged by the gui code (leaving the event loop)
+                       // quitting is triggered by the gui code (leaving the event loop)
                        theApp()->gui().closeAllViews();
                        break;