Hello community, here is the log from the commit of package umbrello for openSUSE:Factory checked in at 2016-03-29 10:00:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/umbrello (Old) and /work/SRC/openSUSE:Factory/.umbrello.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "umbrello" Changes: -------- --- /work/SRC/openSUSE:Factory/umbrello/umbrello.changes 2016-02-23 16:57:23.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.umbrello.new/umbrello.changes 2016-03-29 10:38:07.000000000 +0200 @@ -1,0 +2,9 @@ +Sun Mar 13 15:58:44 UTC 2016 - [email protected] + +- Update to KDE Applications 15.12.3 + * KDE Applications 15.12.3 + * https://www.kde.org/announcements/announce-applications-15.12.3.php + * boo#970855 + + +------------------------------------------------------------------- Old: ---- umbrello-15.12.2.tar.xz New: ---- umbrello-15.12.3.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ umbrello.spec ++++++ --- /var/tmp/diff_new_pack.0aSUnx/_old 2016-03-29 10:38:07.000000000 +0200 +++ /var/tmp/diff_new_pack.0aSUnx/_new 2016-03-29 10:38:07.000000000 +0200 @@ -24,7 +24,7 @@ License: GPL-2.0 and GFDL-1.2 Group: Development/Tools/Other Url: http://www.kde.org/ -Version: 15.12.2 +Version: 15.12.3 Release: 0 Source0: %{name}-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ umbrello-15.12.2.tar.xz -> umbrello-15.12.3.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/umbrello-15.12.2/CMakeLists.txt new/umbrello-15.12.3/CMakeLists.txt --- old/umbrello-15.12.2/CMakeLists.txt 2016-02-12 06:23:36.000000000 +0100 +++ new/umbrello-15.12.3/CMakeLists.txt 2016-03-10 00:21:53.000000000 +0100 @@ -3,7 +3,7 @@ # KDE Application Version, managed by release script set (KDE_APPLICATIONS_VERSION_MAJOR "15") set (KDE_APPLICATIONS_VERSION_MINOR "12") -set (KDE_APPLICATIONS_VERSION_MICRO "2") +set (KDE_APPLICATIONS_VERSION_MICRO "3") set(UMBRELLO_VERSION_MAJOR "2") set(UMBRELLO_VERSION_MINOR "18") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/umbrello-15.12.2/umbrello/uml.cpp new/umbrello-15.12.3/umbrello/uml.cpp --- old/umbrello-15.12.2/umbrello/uml.cpp 2016-02-12 06:23:36.000000000 +0100 +++ new/umbrello-15.12.3/umbrello/uml.cpp 2016-03-10 00:21:53.000000000 +0100 @@ -244,6 +244,7 @@ delete m_printer; delete m_policyext; delete m_pUndoStack; + m_pUndoStack = 0; delete m_refactoringAssist; delete m_xhtmlGenerator; delete m_listView; @@ -668,6 +669,10 @@ void UMLApp::slotZoomFit() { QRectF items = currentView()->umlScene()->itemsBoundingRect(); + if (items.isNull()) { + setZoom(100); + return; + } currentView()->umlScene()->setSceneRect(items); // TODO: QGraphicsView seems not to be informed about the scene rect update currentView()->setSceneRect(items); @@ -681,7 +686,13 @@ else { scale = scaleH; } - setZoom(scale-2); + if (scale < 0) + scale = 100; + else if (scale > 500) + scale = 500; + else + scale -= 2; + setZoom(scale); } /** @@ -1386,7 +1397,8 @@ else { m_doc->saveDocument(m_doc->url()); } - m_pUndoStack->setClean(); + if (m_pUndoStack) + m_pUndoStack->setClean(); resetStatusMsg(); } @@ -3495,7 +3507,8 @@ */ void UMLApp::clearUndoStack() { - m_pUndoStack->clear(); + if (m_pUndoStack) + m_pUndoStack->clear(); } /** @@ -3503,6 +3516,9 @@ */ void UMLApp::undo() { + if (!m_pUndoStack) + return; + if (!isUndoEnabled()) return; @@ -3524,6 +3540,9 @@ */ void UMLApp::redo() { + if (!m_pUndoStack) + return; + if (!isUndoEnabled()) return; @@ -3545,6 +3564,9 @@ */ void UMLApp::executeCommand(QUndoCommand* cmd) { + if (!m_pUndoStack) + return; + if (cmd == NULL) return; if (isUndoEnabled()) { @@ -3564,6 +3586,9 @@ */ void UMLApp::beginMacro(const QString & text) { + if (!m_pUndoStack) + return; + if (!isUndoEnabled()) { return; } @@ -3580,6 +3605,9 @@ */ void UMLApp::endMacro() { + if (!m_pUndoStack) + return; + if (!isUndoEnabled()) { return; }
