Hello community,

here is the log from the commit of package libkdeedu4 for openSUSE:Factory 
checked in at 2015-05-11 18:46:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libkdeedu4 (Old)
 and      /work/SRC/openSUSE:Factory/.libkdeedu4.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libkdeedu4"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libkdeedu4/libkdeedu4.changes    2015-03-11 
09:53:35.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libkdeedu4.new/libkdeedu4.changes       
2015-05-11 18:46:38.000000000 +0200
@@ -1,0 +2,22 @@
+Sat Apr 11 13:24:17 UTC 2015 - [email protected]
+
+- Update to KDE Applications 15.04.0
+   * KDE Applications 15.04.0
+   * https://www.kde.org/announcements/announce-applications-15.04.0.php
+
+
+-------------------------------------------------------------------
+Sat Mar 21 18:21:22 UTC 2015 - [email protected]
+
+- Update to KDE Applications 15.03.95
+   * KDE Applications 15.04 RC
+
+
+-------------------------------------------------------------------
+Sun Mar  8 12:50:48 UTC 2015 - [email protected]
+
+- Update to KDE Applications 15.03.80
+   * KDE Applications 15.04 Beta
+
+
+-------------------------------------------------------------------

Old:
----
  libkdeedu-14.12.3.tar.xz

New:
----
  libkdeedu-15.04.0.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libkdeedu4.spec ++++++
--- /var/tmp/diff_new_pack.3HP41S/_old  2015-05-11 18:46:38.000000000 +0200
+++ /var/tmp/diff_new_pack.3HP41S/_new  2015-05-11 18:46:38.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           libkdeedu4
-Version:        14.12.3
+Version:        15.04.0
 Release:        0
 Summary:        Library for KDE Education Applications
 License:        GPL-2.0+

++++++ libkdeedu-14.12.3.tar.xz -> libkdeedu-15.04.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libkdeedu-14.12.3/keduvocdocument/keduvocdocument.cpp 
new/libkdeedu-15.04.0/keduvocdocument/keduvocdocument.cpp
--- old/libkdeedu-14.12.3/keduvocdocument/keduvocdocument.cpp   2015-01-20 
18:20:18.000000000 +0100
+++ new/libkdeedu-15.04.0/keduvocdocument/keduvocdocument.cpp   2015-01-20 
18:26:57.000000000 +0100
@@ -76,11 +76,11 @@
      * See saveAs for clarification*/
     KAutoSaveFile            *m_autosave;
 
-    bool                      m_dirty;                ///<dirty bit
-    bool                      m_isReadOnly;
+    bool                      m_dirty;                ///< dirty bit
+    bool                      m_isReadOnly;          ///< FileOpenReadOnly was 
used for opening
 
     // save these to document
-    QList<KEduVocIdentifier>  m_identifiers;          ///<list of identifiers
+    QList<KEduVocIdentifier>  m_identifiers;          ///< list of identifiers
 
     QList<int>                m_extraSizeHints;       ///< unused
     QList<int>                m_sizeHints;            ///< unused
@@ -258,7 +258,7 @@
 
     if (!d->m_isReadOnly) {
        autosaveError = d->initializeKAutoSave( *d->m_autosave,  temporaryFile, 
flags );
-       if ( autosaveError != NoError) {
+       if (autosaveError != NoError) {
            return autosaveError;
        }
     }
@@ -298,8 +298,12 @@
 }
 
 /// @todo When the API major version number increments remove this function
-int KEduVocDocument::saveAs( const KUrl & url, FileType ft, const QString & 
generator )
+int KEduVocDocument::saveAs(const KUrl &url, FileType ft, const QString 
&generator)
 {
+    if (!d->m_isReadOnly) {
+       return FileIsReadOnly;
+    }
+
     const QString oldgenerator( d->m_generator );
     d->m_generator = generator;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libkdeedu-14.12.3/keduvocdocument/keduvocdocument.h 
new/libkdeedu-15.04.0/keduvocdocument/keduvocdocument.h
--- old/libkdeedu-14.12.3/keduvocdocument/keduvocdocument.h     2015-01-20 
18:20:18.000000000 +0100
+++ new/libkdeedu-15.04.0/keduvocdocument/keduvocdocument.h     2015-01-20 
18:26:57.000000000 +0100
@@ -83,7 +83,7 @@
     {
         FileDefaultHandling = 0x0, ///< Default status
         FileIgnoreLock      = 0x1, ///< Ignore the file lock
-       FileOpenReadOnly    = 0x2  ///< Open without any intention to change 
and save back later.
+       FileOpenReadOnly    = 0x2  ///< Open without any intention to change 
and save back later. This also implies FileIgnoreLock.
     };
 
     /// used as parameter for pattern


Reply via email to