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

List:       kde-commits
Subject:    kdeedu/keduca/keduca
From:       Waldo Bastian <bastian () kde ! org>
Date:       2004-05-25 20:24:33
Message-ID: 20040525202433.87265126D0 () office ! kde ! org
[Download RAW message or body]

CVS commit by waba: 

Questions can have more than 10 answers. (No, really!) (BR80751)
Patch by Christian Wolfgang Hujer
CCMAIL: 80751-done@bugs.kde.org


  M +2 -1      kgroupeduca.cpp   1.10


--- kdeedu/keduca/keduca/kgroupeduca.cpp  #1.9:1.10
@@ -70,5 +70,6 @@ void KGroupEduca::setType(ButtonType typ
 void KGroupEduca::clearAnswers()
 {
-    for( unsigned int i=0 ; i<10 ; ++i )
+    unsigned int maxButton = this->count();
+    for( unsigned int i=0 ; i<maxButton ; ++i )
     {
         QButton *tmpButton;


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

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