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

List:       kdevelop-bugs
Subject:    [Bug 129568] Custom makefiles does not work with Clearcase clearmake
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2007-05-23 0:51:30
Message-ID: 20070523005130.6716.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=129568         
apaku gmx de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From apaku gmx de  2007-05-23 02:51 -------
SVN commit 667515 by apaku:

The spinbox doesn't allow 0-value, thus the check after setting its value
always evaluates to true, fix that.

BUG:129568


 M  +3 -2      custommakeconfigwidget.cpp  


--- branches/KDE/3.5/kdevelop/buildtools/custommakefiles/custommakeconfigwidget.cpp #667514:667515
 @ -33,8 +33,9  @
     m_part(part), m_configGroup(configGroup), m_dom( *part->projectDom() )
 {
     abort_box->setChecked(DomUtil::readBoolEntry(m_dom, m_configGroup + "/make/abortonerror"));
-    jobs_box->setValue(DomUtil::readIntEntry(m_dom, m_configGroup + "/make/numberofjobs"));
-    runMultiJobs->setChecked( (jobs_box->value() > 0 ) );
+    int numjobs = DomUtil::readIntEntry(m_dom, m_configGroup + "/make/numberofjobs");
+    jobs_box->setValue(numjobs);
+    runMultiJobs->setChecked( (numjobs > 0 ) );
 
     prio_box->setValue(DomUtil::readIntEntry(m_dom, m_configGroup + "/make/prio"));
     dontact_box->setChecked(DomUtil::readBoolEntry(m_dom, m_configGroup + "/make/dontact"));


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

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