updated application info
This commit is contained in:
parent
fe4fc46896
commit
a0883968cb
|
@ -12,10 +12,10 @@ namespace QtGui {
|
||||||
|
|
||||||
int runWidgetsGui(int argc, char *argv[], const QString &file)
|
int runWidgetsGui(int argc, char *argv[], const QString &file)
|
||||||
{
|
{
|
||||||
SET_APPLICATION_INFO;
|
SET_QT_APPLICATION_INFO;
|
||||||
// init application
|
// init application
|
||||||
QApplication a(argc, argv);
|
QApplication a(argc, argv);
|
||||||
LOAD_TRANSLATIONS;
|
LOAD_QT_TRANSLATIONS;
|
||||||
QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8"));
|
QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8"));
|
||||||
// load the other resources
|
// load the other resources
|
||||||
QtUtilitiesResources::init();
|
QtUtilitiesResources::init();
|
||||||
|
|
1
main.cpp
1
main.cpp
|
@ -30,6 +30,7 @@ int main(int argc, char *argv[])
|
||||||
// init open ssl
|
// init open ssl
|
||||||
OpenSsl::init();
|
OpenSsl::init();
|
||||||
// setup argument parser
|
// setup argument parser
|
||||||
|
SET_APPLICATION_INFO;
|
||||||
ArgumentParser parser;
|
ArgumentParser parser;
|
||||||
parser.setIgnoreUnknownArguments(true);
|
parser.setIgnoreUnknownArguments(true);
|
||||||
// Qt configuration arguments
|
// Qt configuration arguments
|
||||||
|
|
Loading…
Reference in New Issue