From be40ba82147eab1f10a4f96a7a3cfef5f4a520bb Mon Sep 17 00:00:00 2001 From: Manjeet Dahiya Date: Fri, 8 Oct 2010 06:15:44 +0000 Subject: use applicationName and organizationName --- examples/GuiClient/main.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'examples/GuiClient/main.cpp') 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(); -- cgit v1.2.3