mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Add version to application name in session info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21646 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ce46ca8653
commit
d9194a2fcf
@ -36,6 +36,7 @@
|
||||
#include "LyX.h"
|
||||
#include "LyXFunc.h"
|
||||
#include "LyXRC.h"
|
||||
#include "version.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QClipboard>
|
||||
@ -129,9 +130,10 @@ GuiApplication * guiApp;
|
||||
GuiApplication::GuiApplication(int & argc, char ** argv)
|
||||
: QApplication(argc, argv), Application()
|
||||
{
|
||||
QCoreApplication::setOrganizationName("LyX");
|
||||
QString app_name = "LyX";
|
||||
QCoreApplication::setOrganizationName(app_name);
|
||||
QCoreApplication::setOrganizationDomain("lyx.org");
|
||||
QCoreApplication::setApplicationName("LyX");
|
||||
QCoreApplication::setApplicationName(app_name + lyx_version);
|
||||
|
||||
// Qt bug? setQuitOnLastWindowClosed(true); does not work
|
||||
setQuitOnLastWindowClosed(false);
|
||||
|
Loading…
Reference in New Issue
Block a user