[Uml-devel] [Bug 146061] umbrello appends ".xmi" to the saved diagram name when it is told not to do so
Oliver Kellogg
okellogg at users.sourceforge.net
Sun Aug 12 00:57:29 UTC 2007
------- 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=146061
okellogg users sourceforge net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From okellogg users sourceforge net 2007-08-12 02:57 -------
SVN commit 699102 by okellogg:
slotFileSaveAs(): Apply commit 695283 from trunk which works fine, thanks Sharan.
BUG:146061
M +1 -0 ChangeLog
M +0 -9 umbrello/uml.cpp
--- branches/KDE/3.5/kdesdk/umbrello/ChangeLog #699101:699102
@ -2,6 +2,7 @
* Bugs/wishes from http://bugs.kde.org:
* Cannot move text and label correctly after enabling snap to grid (137041)
+* Umbrello gratuitously appends ".xmi" to the saved file name (146061)
* Wrong pascal code generation (146676)
* Crash when linking to undefined xmi.id (146748)
* End Activity Symbol gets invalid when line thickness is increased (146925)
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/uml.cpp #699101:699102
@ -734,15 +734,6 @
if(url.isEmpty())
cont = false;
else {
- // now check that we have a file extension; standard will be plain xmi
- QString file = url.path(-1);
- QFileInfo info(file);
- ext = info.extension();
- if (ext != "xmi" && ext != "xmi.tgz" && ext != "xmi.tar.bz2")
- {
- url.setFileName(url.fileName() + ".xmi");
- ext = "xmi";
- }
QDir d = url.path(-1);
if(QFile::exists(d.path())) {
More information about the umbrello-devel
mailing list