updated application info
This commit is contained in:
parent
d3b4cafdde
commit
95a5fe093e
|
@ -27,6 +27,7 @@ int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
// setup argument parser
|
// setup argument parser
|
||||||
ArgumentParser parser;
|
ArgumentParser parser;
|
||||||
|
SET_APPLICATION_INFO;
|
||||||
QT_CONFIG_ARGUMENTS qtConfigArgs;
|
QT_CONFIG_ARGUMENTS qtConfigArgs;
|
||||||
HelpArgument helpArg(parser);
|
HelpArgument helpArg(parser);
|
||||||
// recursive option
|
// recursive option
|
||||||
|
|
|
@ -10,9 +10,9 @@ namespace QtGui {
|
||||||
|
|
||||||
int runWidgetsGui(int argc, char *argv[], const QString &path)
|
int runWidgetsGui(int argc, char *argv[], const QString &path)
|
||||||
{
|
{
|
||||||
SET_APPLICATION_INFO;
|
SET_QT_APPLICATION_INFO;
|
||||||
QApplication a(argc, argv);
|
QApplication a(argc, argv);
|
||||||
LOAD_TRANSLATIONS;
|
LOAD_QT_TRANSLATIONS;
|
||||||
// load resources needed by classes of qtutilities
|
// load resources needed by classes of qtutilities
|
||||||
QtUtilitiesResources::init();
|
QtUtilitiesResources::init();
|
||||||
Theme::setup();
|
Theme::setup();
|
||||||
|
|
Loading…
Reference in New Issue