[yast-commit] r57482 - /branches/tmp/tgoettlicher/yast2cc_rewrite/src/main_window.cpp
Author: kmachalkova Date: Mon Jun 8 13:25:24 2009 New Revision: 57482 URL: http://svn.opensuse.org/viewcvs/yast?rev=57482&view=rev Log: Place the config alongside Qt packager Modified: branches/tmp/tgoettlicher/yast2cc_rewrite/src/main_window.cpp Modified: branches/tmp/tgoettlicher/yast2cc_rewrite/src/main_window.cpp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/tgoettlicher/yast2cc_rewrite/src/main_window.cpp?rev=57482&r1=57481&r2=57482&view=diff ============================================================================== --- branches/tmp/tgoettlicher/yast2cc_rewrite/src/main_window.cpp (original) +++ branches/tmp/tgoettlicher/yast2cc_rewrite/src/main_window.cpp Mon Jun 8 13:25:24 2009 @@ -32,6 +32,7 @@ #include "yqmodulegroupsmodel.h" //#include "moduleiconitem.h" +#define ORG_NAME "YaST2" #define APP_NAME "y2controlcenter-qt" #define USED_QUEUE_SIZE 5 @@ -199,7 +200,7 @@ void MainWindow::readSettings() { - QSettings settings(APP_NAME); + QSettings settings(ORG_NAME, APP_NAME); settings.beginGroup("MainWindow"); resize(settings.value("Size", QSize(680,420)).toSize()); @@ -218,7 +219,7 @@ void MainWindow::writeSettings() { - QSettings settings(APP_NAME); + QSettings settings(ORG_NAME, APP_NAME); settings.beginGroup("MainWindow"); settings.setValue("Size", size()); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
kmachalkova@svn.opensuse.org