* src/lyxfunc.C:

* 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
This commit is contained in:
Michael Schmitt 2006-12-02 21:27:31 +00:00
parent f099bf461e
commit 75d0226ce8
3 changed files with 7 additions and 7 deletions

View 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();

View 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();
}

View 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;