[umbrello] [Bug 447866] [class diagram] Multiple association ends are drawn on the same edge point

Oliver Kellogg bugzilla_noreply at kde.org
Sat Jan 15 14:21:00 GMT 2022


https://bugs.kde.org/show_bug.cgi?id=447866

--- Comment #10 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
Git commit 1816faa68be2ccfa42d870b78755853b300e076a by Oliver Kellogg.
Committed on 15/01/2022 at 14:20.
Pushed by okellogg into branch 'master'.

Address observation from https://bugs.kde.org/show_bug.cgi?id=447866#c2
> [...]
> Another thing I noticed is that if I save a file, it does not add the
> ".xmi" extension if I do not type it explicitly.

umbrello/uml.cpp function slotFileSaveAs
- In loop, after call to QFileDialog::getSaveFileUrl() :
  - Use `break' instead of setting `cont' false to avoid unnecessary
    if-nesting depth.
  - Before testing QFile::exists(file), if `file' does not contain "."
    then append extension ".xmi".
  - On calling KMessageBox::warningContinueCancel() use `file' in lieu
    of url.toLocalFile().

M  +21   -18   umbrello/uml.cpp

https://invent.kde.org/sdk/umbrello/commit/1816faa68be2ccfa42d870b78755853b300e076a

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list