aboutsummaryrefslogtreecommitdiff
path: root/examples/GuiClient/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/GuiClient/main.cpp')
-rw-r--r--examples/GuiClient/main.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/GuiClient/main.cpp b/examples/GuiClient/main.cpp
index e5cf7e04..764c4fb3 100644
--- a/examples/GuiClient/main.cpp
+++ b/examples/GuiClient/main.cpp
@@ -33,11 +33,15 @@
int main(int argc, char *argv[])
{
+ QApplication a(argc, argv);
+
+ QApplication::setOrganizationName("QXmpp");
+ QApplication::setApplicationName("GuiClient");
+
QDir dir;
if(!dir.exists(getSettingsDir()))
dir.mkpath(getSettingsDir());
- QApplication a(argc, argv);
mainDialog cw;
cw.show();
return a.exec();