[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdegames/kmines
From:       Laurent Montel <montel () kde ! org>
Date:       2005-10-20 11:53:02
Message-ID: 1129809182.454329.32088.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 472295 by mlaurent:

compiles/link


 M  +4 -2      dialogs.cpp  


--- trunk/KDE/kdegames/kmines/dialogs.cpp #472294:472295
@@ -283,12 +283,14 @@
     hbox->addWidget(grid);
     for (uint i=0; i<Settings::EnumType::COUNT; i++) {
         (void)new QLabel(i18n(COLOR_LABELS[i]), grid);
-        KColorButton *cb = new KColorButton(grid, COLOR_CONFIG_NAMES[i]);
+        KColorButton *cb = new KColorButton(grid);
+		cb->setObjectName( COLOR_CONFIG_NAMES[i]);
         cb->setFixedWidth(100);
     }
     for (uint i=0; i<NB_N_COLORS; i++) {
         (void)new QLabel(i18n("%n mine color:", "%n mines color:", i+1), grid);
-        KColorButton *cb = new KColorButton(grid, N_COLOR_CONFIG_NAMES[i]);
+        KColorButton *cb = new KColorButton(grid);
+		cb->setObjectName(N_COLOR_CONFIG_NAMES[i]);
         cb->setFixedWidth(100);
     }
     hbox->addStretch(1);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic