Bug 25786 - wizard-generated code cause empty lines in recent files list
Summary: wizard-generated code cause empty lines in recent files list
Status: RESOLVED INTENTIONAL
Alias: None
Product: kdevelop
Classification: Applications
Component: kdevelop 2.x (obsolete) (show other bugs)
Version: 1.4.1
Platform: RedHat Enterprise Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: KDevelop-Devel List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-05-16 06:48 UTC by lvanek
Modified: 2002-12-06 19:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.