mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-19 22:40:26 +00:00
* do not change name of QSettings config file on LyX version change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30301 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
74aad3cb41
commit
2efcbb74d6
@ -714,12 +714,13 @@ GuiApplication::~GuiApplication()
|
||||
|
||||
|
||||
GuiApplication::GuiApplication(int & argc, char ** argv)
|
||||
: QApplication(argc, argv), current_view_(0), d(new GuiApplication::Private)
|
||||
: QApplication(argc, argv), current_view_(0),
|
||||
d(new GuiApplication::Private)
|
||||
{
|
||||
QString app_name = "LyX";
|
||||
QCoreApplication::setOrganizationName(app_name);
|
||||
QCoreApplication::setOrganizationDomain("lyx.org");
|
||||
QCoreApplication::setApplicationName(app_name + "-" + lyx_version);
|
||||
QCoreApplication::setApplicationName(lyx_package);
|
||||
|
||||
// Install translator for GUI elements.
|
||||
installTranslator(&d->qt_trans_);
|
||||
|
@ -16,5 +16,8 @@ char const * lyx_version = PACKAGE_VERSION;
|
||||
///
|
||||
char const * lyx_release_date = LYX_DATE;
|
||||
|
||||
/// Package identifier (lyx[-<version-suffix>])
|
||||
char const * lyx_package = PACKAGE;
|
||||
|
||||
/// This is the version information shown by 'lyx --version'
|
||||
char const * lyx_version_info = VERSION_INFO;
|
||||
|
@ -19,6 +19,9 @@ extern char const * lyx_version;
|
||||
///
|
||||
extern char const * lyx_release_date;
|
||||
|
||||
/// Package identifier (lyx[-<version-suffix>])
|
||||
extern char const * lyx_package;
|
||||
|
||||
/// This is the version information shown by 'lyx -version'
|
||||
extern char const * lyx_version_info;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user