add '-' between LyX and version.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21647 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-11-16 22:21:40 +00:00
parent d9194a2fcf
commit 92b4b75a8f

View File

@ -133,7 +133,7 @@ GuiApplication::GuiApplication(int & argc, char ** argv)
QString app_name = "LyX"; QString app_name = "LyX";
QCoreApplication::setOrganizationName(app_name); QCoreApplication::setOrganizationName(app_name);
QCoreApplication::setOrganizationDomain("lyx.org"); QCoreApplication::setOrganizationDomain("lyx.org");
QCoreApplication::setApplicationName(app_name + lyx_version); QCoreApplication::setApplicationName(app_name + "-" + lyx_version);
// Qt bug? setQuitOnLastWindowClosed(true); does not work // Qt bug? setQuitOnLastWindowClosed(true); does not work
setQuitOnLastWindowClosed(false); setQuitOnLastWindowClosed(false);