Bug#1894: ProjectDoc::saveModified

Sebastian Brandt brandt at I5.Informatik.RWTH-Aachen.de
Wed Sep 8 10:01:45 UTC 1999


Package: kdevelop
Version: 1.0beta2
Severity: grave

Bugreport ID : 10:43,08.09.99

Originator: Sebastian Brandt
E-Mail: brandt at I5.Informatik.RWTH-Aachen.de

Subject : ProjectDoc::saveModified

Error Class: software bug
Error Location: project creation
Priority: high
Bug Description ---------------------------

In the generated code of a normal KDE project:
Method bool ProjectDoc::saveModified():
To check if the document is "Untitled" and therefore
has to be "SavedAs", the
title is checked against "Untitled".
When creating a new document, the same "Untitled" is set.
But, in ProjectApp::saveProperties() i18n("Untitled") is used.

As I remember, the same bug appeared in kedit and was fixed
in some version.

How to repeat the error -------------------

Create a new normal KDE project.

Bugfix or Workaround ----------------------

Change the generated code to use either "..." or i18n("...").

System Information ------------------------

KDevelop version: 1.0beta2
KDE version: 1.1.1
QT version: 1.44
OS/Distribution: Linux 2.2.9/SuSE 6.0
Compiler: egcs-2.91.66





More information about the KDevelop-devel mailing list