diff options
| author | Manjeet Dahiya <manjeetdahiya@gmail.com> | 2010-10-08 06:15:44 +0000 |
|---|---|---|
| committer | Manjeet Dahiya <manjeetdahiya@gmail.com> | 2010-10-08 06:15:44 +0000 |
| commit | be40ba82147eab1f10a4f96a7a3cfef5f4a520bb (patch) | |
| tree | 6c64d442cd7637179a328f492a880736801b7d0a /examples/GuiClient/main.cpp | |
| parent | bc8358be7b87e5d66111ebda4ee08557c6e2c76d (diff) | |
| download | qxmpp-be40ba82147eab1f10a4f96a7a3cfef5f4a520bb.tar.gz | |
use applicationName and organizationName
Diffstat (limited to 'examples/GuiClient/main.cpp')
| -rw-r--r-- | examples/GuiClient/main.cpp | 6 |
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(); |
