Bug 25786

Summary: wizard-generated code cause empty lines in recent files list
Product: [Applications] kdevelop Reporter: lvanek
Component: kdevelop 2.x (obsolete)Assignee: KDevelop-Devel List <kdevelop-devel>
Status: RESOLVED INTENTIONAL    
Severity: wishlist    
Priority: NOR    
Version: 1.4.1   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description lvanek 2001-05-16 06:46:35 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. 

void TestApp::openDocumentFile(const KURL& url)
{
  slotStatusMsg(i18n("Opening file..."));

  doc->openDocument( url);

  if(!url.path().isEmpty())// !!! this test avoid add void lines to recent files list !!!
 fileOpenRecent->addURL( url );

  slotStatusMsg(i18n("Ready."));
}

Lumir Vanek


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