Hello community, here is the log from the commit of package k4dirstat for openSUSE:Factory checked in at 2020-07-09 13:16:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/k4dirstat (Old) and /work/SRC/openSUSE:Factory/.k4dirstat.new.3060 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "k4dirstat" Thu Jul 9 13:16:40 2020 rev:5 rq:819522 version:3.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/k4dirstat/k4dirstat.changes 2020-01-13 22:22:07.366534883 +0100 +++ /work/SRC/openSUSE:Factory/.k4dirstat.new.3060/k4dirstat.changes 2020-07-09 13:16:41.604762501 +0200 @@ -1,0 +2,6 @@ +Wed Jul 8 16:22:11 UTC 2020 - Wolfgang Bauer <wba...@tmo.at> + +- Update to 3.2.1 (boo#1173905): + * Fix crashes on startup in some certain KIO related circumstances + +------------------------------------------------------------------- Old: ---- k4dirstat-3.2.0.tar.gz New: ---- k4dirstat-3.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ k4dirstat.spec ++++++ --- /var/tmp/diff_new_pack.ZlgGaD/_old 2020-07-09 13:16:43.356768038 +0200 +++ /var/tmp/diff_new_pack.ZlgGaD/_new 2020-07-09 13:16:43.356768038 +0200 @@ -17,7 +17,7 @@ Name: k4dirstat -Version: 3.2.0 +Version: 3.2.1 Release: 0 Summary: Graphical Disk Usage Utility License: GPL-2.0-only AND LGPL-2.0-only ++++++ k4dirstat-3.2.0.tar.gz -> k4dirstat-3.2.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/k4dirstat-3.2.0/CMakeLists.txt new/k4dirstat-3.2.1/CMakeLists.txt --- old/k4dirstat-3.2.0/CMakeLists.txt 2019-11-23 12:51:27.000000000 +0100 +++ new/k4dirstat-3.2.1/CMakeLists.txt 2020-04-20 10:41:03.000000000 +0200 @@ -47,7 +47,7 @@ add_definitions(-DQT_NO_URL_CAST_FROM_STRING) -git_version(K4DIRSTAT_VERSION 3.2.0 k4dirstat-) +git_version(K4DIRSTAT_VERSION 3.2.1 k4dirstat-) add_subdirectory( doc ) add_subdirectory( src ) add_subdirectory( icons ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/k4dirstat-3.2.0/src/kdirtreeview.cpp new/k4dirstat-3.2.1/src/kdirtreeview.cpp --- old/k4dirstat-3.2.0/src/kdirtreeview.cpp 2019-11-23 12:51:27.000000000 +0100 +++ new/k4dirstat-3.2.1/src/kdirtreeview.cpp 2020-04-20 10:41:03.000000000 +0200 @@ -34,9 +34,9 @@ #define SEPARATE_READ_JOBS_COL 0 #define VERBOSE_PROGRESS_INFO 0 -using namespace KDirStat; +namespace KDirStat { -class KDirStat::KDirModel: public QStandardItemModel { +class KDirModel: public QStandardItemModel { KDirTreeView & view_; QStringList headers_; @@ -1070,11 +1070,11 @@ } -QString KDirStat::formatSizeLong(KFileSize size) { +QString formatSizeLong(KFileSize size) { return QLocale().toString(size); } -QString KDirStat::hexKey(KFileSize size) { +QString hexKey(KFileSize size) { /** * This is optimized for performance, not for aesthetics. * And every now and then the old C hacker breaks through in most of us... @@ -1096,7 +1096,7 @@ return QString(key); } -QString KDirStat::formatTime(long millisec, bool showMilliSeconds) { +QString formatTime(long millisec, bool showMilliSeconds) { QString formattedTime; int hours; int min; @@ -1120,7 +1120,7 @@ return formattedTime; } -QString KDirStat::formatCount(int count, bool suppressZero) { +QString formatCount(int count, bool suppressZero) { if (suppressZero && count == 0) return ""; @@ -1130,7 +1130,7 @@ return countString; } -QString KDirStat::formatPercent(float percent) { +QString formatPercent(float percent) { QString percentString; percentString.sprintf("%.1f%%", percent); @@ -1138,7 +1138,7 @@ return percentString; } -QString KDirStat::formatTimeDate(time_t rawTime) { +QString formatTimeDate(time_t rawTime) { QString timeDateString; struct tm *t = localtime(&rawTime); @@ -1186,13 +1186,13 @@ return timeDateString; } -QString KDirStat::localeTimeDate(time_t rawTime) { +QString localeTimeDate(time_t rawTime) { QDateTime timeDate; timeDate.setTime_t(rawTime); return timeDate.toString(Qt::DefaultLocaleShortDate); } -QColor KDirStat::contrastingColor(const QColor &desiredColor, +QColor contrastingColor(const QColor &desiredColor, const QColor &contrastColor) { if (desiredColor != contrastColor) { return desiredColor; @@ -1207,3 +1207,4 @@ } } +} //namespace