Bug 25787

Summary: wizard-generated code contain bug in AppnameDoc::saveModified()
Product: [Applications] kdevelop Reporter: lvanek
Component: kdevelop 2.x (obsolete)Assignee: KDevelop-Devel List <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 1.4.1   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description lvanek 2001-05-16 06:58:43 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kdevelop
Version:           1.4.1 (using KDE 2.1.2 )
Severity:          wishlist
Installed from:    Red Hat Linux 7.1
Compiler:          gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81)
OS:                Linux 2.2.17-8smp i686
OS/Compiler notes: 

Please make this change to wizard-generated KDE2 Normal application. 

case KMessageBox::Yes:  instead of case 1: 
case KMessageBox::No: instead of case 2:
case KMessageBox::Cancel: instead of case 3:

because constants are not correct. See at:

enum  { Ok = 1 Cancel = 2 Yes = 3 No = 4 Continue = 5 }

Lumir Vanek

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Caleb Tennis 2002-12-06 19:57:07 UTC
This code has been changed in Gideon.