mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-19 13:51:16 +00:00
Update "version" to 2.0, other small CLI changes
This commit is contained in:
parent
92db749190
commit
3450a4d62c
@ -459,8 +459,8 @@ CConfigApp g_theApp;
|
|||||||
int main(int argc, char* argv[])
|
int main(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
QApplication app(argc, argv);
|
QApplication app(argc, argv);
|
||||||
QCoreApplication::setApplicationName("config");
|
QCoreApplication::setApplicationName("Isle-Config");
|
||||||
QCoreApplication::setApplicationVersion("1.0");
|
QCoreApplication::setApplicationVersion("2.0");
|
||||||
|
|
||||||
QCommandLineParser parser;
|
QCommandLineParser parser;
|
||||||
parser.setApplicationDescription("Configure LEGO Island");
|
parser.setApplicationDescription("Configure LEGO Island");
|
||||||
@ -478,7 +478,7 @@ int main(int argc, char* argv[])
|
|||||||
if (parser.isSet(iniOption)) {
|
if (parser.isSet(iniOption)) {
|
||||||
g_theApp.SetIniPath(parser.value(iniOption).toStdString());
|
g_theApp.SetIniPath(parser.value(iniOption).toStdString());
|
||||||
}
|
}
|
||||||
qInfo() << "Ini path =" << QString::fromStdString(g_theApp.GetIniPath());
|
qInfo() << "INI path =" << QString::fromStdString(g_theApp.GetIniPath());
|
||||||
|
|
||||||
int result = 1;
|
int result = 1;
|
||||||
if (g_theApp.InitInstance()) {
|
if (g_theApp.InitInstance()) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user