Hello community, here is the log from the commit of package kpat for openSUSE:Factory checked in at 2015-10-22 12:57:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kpat (Old) and /work/SRC/openSUSE:Factory/.kpat.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kpat" Changes: -------- --- /work/SRC/openSUSE:Factory/kpat/kpat.changes 2015-10-03 20:22:57.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kpat.new/kpat.changes 2015-10-22 12:57:51.000000000 +0200 @@ -1,0 +2,16 @@ +Sun Oct 11 13:37:08 UTC 2015 - tittiatc...@gmail.com + +- Update to KDE Applications 15.08.2 + * KDE Applications 15.08.2 + * https://www.kde.org/announcements/announce-applications-15.08.2.php + +- Drop patch create_state_dir.patch + +------------------------------------------------------------------- +Sat Oct 3 19:39:24 UTC 2015 - wba...@tmo.at + +- Add create_state_dir.patch: fixes saving of the game state on + exit when the application directory doesn't exist yet + (boo#948289, kde#350160) + +------------------------------------------------------------------- Old: ---- kpat-15.08.1.tar.xz New: ---- kpat-15.08.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kpat.spec ++++++ --- /var/tmp/diff_new_pack.WkYyRK/_old 2015-10-22 12:57:52.000000000 +0200 +++ /var/tmp/diff_new_pack.WkYyRK/_new 2015-10-22 12:57:52.000000000 +0200 @@ -21,13 +21,13 @@ License: GPL-2.0+ Group: Amusements/Games/Board/Card Url: http://www.kde.org -Version: 15.08.1 +Version: 15.08.2 Release: 0 Source0: kpat-%{version}.tar.xz BuildRequires: libkdegames-devel BuildRequires: update-desktop-files BuildRequires: extra-cmake-modules -BuildRequireS: pkgconfig(Qt5Widgets) +BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Qml) BuildRequires: pkgconfig(Qt5Quick) BuildRequires: pkgconfig(Qt5QuickWidgets) ++++++ kpat-15.08.1.tar.xz -> kpat-15.08.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpat-15.08.1/mainwindow.cpp new/kpat-15.08.2/mainwindow.cpp --- old/kpat-15.08.1/mainwindow.cpp 2015-08-26 14:41:39.000000000 +0200 +++ new/kpat-15.08.2/mainwindow.cpp 2015-10-03 21:25:07.000000000 +0200 @@ -756,7 +756,14 @@ void MainWindow::closeEvent(QCloseEvent *e) { - QString stateFileName = QStandardPaths::writableLocation(QStandardPaths::DataLocation) + QLatin1Char('/') + saved_state_file ; + QString stateDirName = QStandardPaths::writableLocation(QStandardPaths::DataLocation); + QString stateFileName = stateDirName + QLatin1Char('/') + saved_state_file ; + QDir stateFileDir(stateDirName); + if(!stateFileDir.exists()) + { + //create the directory if it doesn't exist (bug#350160) + stateFileDir.mkpath(QStringLiteral(".")); + } QFile stateFile( stateFileName ); // Remove the existing state file, if any.