Hello community, here is the log from the commit of package lxqt-panel for openSUSE:Factory checked in at 2020-11-06 23:44:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lxqt-panel (Old) and /work/SRC/openSUSE:Factory/.lxqt-panel.new.11331 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lxqt-panel" Fri Nov 6 23:44:49 2020 rev:20 rq:846400 version:0.16.1 Changes: -------- --- /work/SRC/openSUSE:Factory/lxqt-panel/lxqt-panel.changes 2020-11-04 18:32:41.320108284 +0100 +++ /work/SRC/openSUSE:Factory/.lxqt-panel.new.11331/lxqt-panel.changes 2020-11-06 23:45:11.631252774 +0100 @@ -1,0 +2,6 @@ +Fri Nov 6 07:48:53 UTC 2020 - Michael Vetter <mvet...@suse.com> + +- Update to 0.16.1: + * Fixed compilation with Qt 5.12 and Qt 5.13. + +------------------------------------------------------------------- Old: ---- lxqt-panel-0.16.0.tar.xz lxqt-panel-0.16.0.tar.xz.asc New: ---- lxqt-panel-0.16.1.tar.xz lxqt-panel-0.16.1.tar.xz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lxqt-panel.spec ++++++ --- /var/tmp/diff_new_pack.NGeztJ/_old 2020-11-06 23:45:12.283251521 +0100 +++ /var/tmp/diff_new_pack.NGeztJ/_new 2020-11-06 23:45:12.283251521 +0100 @@ -17,7 +17,7 @@ Name: lxqt-panel -Version: 0.16.0 +Version: 0.16.1 Release: 0 Summary: Desktop Panel for LXQt License: GPL-2.0-or-later ++++++ lxqt-panel-0.16.0.tar.xz -> lxqt-panel-0.16.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-panel-0.16.0/CHANGELOG new/lxqt-panel-0.16.1/CHANGELOG --- old/lxqt-panel-0.16.0/CHANGELOG 2020-11-02 10:34:43.000000000 +0100 +++ new/lxqt-panel-0.16.1/CHANGELOG 2020-11-05 17:09:19.000000000 +0100 @@ -1,3 +1,7 @@ +lxqt-panel-0.16.1 / 2020-11-04 +============================== + * Fixed compilation with Qt 5.12 and Qt 5.13. + lxqt-panel-0.16.0 / 2020-11-01 ============================== * Use a stylesheet for progress-bars of Sensors plugin. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-panel-0.16.0/CMakeLists.txt new/lxqt-panel-0.16.1/CMakeLists.txt --- old/lxqt-panel-0.16.0/CMakeLists.txt 2020-11-02 10:34:43.000000000 +0100 +++ new/lxqt-panel-0.16.1/CMakeLists.txt 2020-11-05 17:09:19.000000000 +0100 @@ -44,7 +44,7 @@ find_package(lxqt-globalkeys-ui ${LXQT_GLOBALKEYS_MINIMUM_VERSION} REQUIRED) # Patch Version -set(LXQT_PANEL_PATCH_VERSION 0) +set(LXQT_PANEL_PATCH_VERSION 1) set(LXQT_PANEL_VERSION ${LXQT_MAJOR_VERSION}.${LXQT_MINOR_VERSION}.${LXQT_PANEL_PATCH_VERSION}) add_definitions("-DLXQT_PANEL_VERSION=\"${LXQT_PANEL_VERSION}\"") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-panel-0.16.0/panel/panelpluginsmodel.cpp new/lxqt-panel-0.16.1/panel/panelpluginsmodel.cpp --- old/lxqt-panel-0.16.0/panel/panelpluginsmodel.cpp 2020-11-02 10:34:43.000000000 +0100 +++ new/lxqt-panel-0.16.1/panel/panelpluginsmodel.cpp 2020-11-05 17:09:19.000000000 +0100 @@ -319,7 +319,11 @@ return; //can't move up beginMoveRows(QModelIndex(), row, row, QModelIndex(), row - 1); +#if (QT_VERSION >= QT_VERSION_CHECK(5,13,0)) mPlugins.swapItemsAt(row - 1, row); +#else + mPlugins.swap(row - 1, row); +#endif endMoveRows(); pluginslist_t::const_reference moved_plugin = mPlugins[row - 1]; pluginslist_t::const_reference prev_plugin = mPlugins[row]; @@ -342,7 +346,11 @@ return; //can't move down beginMoveRows(QModelIndex(), row, row, QModelIndex(), row + 2); +#if (QT_VERSION >= QT_VERSION_CHECK(5,13,0)) mPlugins.swapItemsAt(row, row + 1); +#else + mPlugins.swap(row, row + 1); +#endif endMoveRows(); pluginslist_t::const_reference moved_plugin = mPlugins[row + 1]; pluginslist_t::const_reference next_plugin = mPlugins[row]; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-panel-0.16.0/plugin-quicklaunch/lxqtquicklaunch.cpp new/lxqt-panel-0.16.1/plugin-quicklaunch/lxqtquicklaunch.cpp --- old/lxqt-panel-0.16.0/plugin-quicklaunch/lxqtquicklaunch.cpp 2020-11-02 10:34:43.000000000 +0100 +++ new/lxqt-panel-0.16.1/plugin-quicklaunch/lxqtquicklaunch.cpp 2020-11-05 17:09:19.000000000 +0100 @@ -200,8 +200,13 @@ return; } +#if (QT_VERSION >= QT_VERSION_CHECK(5,14,0)) const auto & urls = e->mimeData()->urls(); for (const QUrl &url : QSet<QUrl>{urls.cbegin(), urls.cend()}) +#else + const auto urls = e->mimeData()->urls().toSet(); + for (const QUrl &url : urls) +#endif { QString fileName(url.isLocalFile() ? url.toLocalFile() : url.url()); QFileInfo fi(fileName);