summaryrefslogtreecommitdiff
path: root/plugins/Themes/Oxygen
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2020-09-21 21:52:17 +0100
committerThomas Preud'homme <robotux@celest.fr>2020-09-21 21:52:17 +0100
commit08b0288421b2cd69bbfd8a8a109572f04df69bbe (patch)
treedbdbaa997e8c7b771cb42034128ef0a500ea40b4 /plugins/Themes/Oxygen
parentac95ce6e0538249e9c395904b49b078234fdcb5e (diff)
New upstream version 2.2.4.7
Diffstat (limited to 'plugins/Themes/Oxygen')
-rwxr-xr-xplugins/Themes/Oxygen/TransferModel.cpp5
-rwxr-xr-xplugins/Themes/Oxygen/informations.xml2
2 files changed, 6 insertions, 1 deletions
diff --git a/plugins/Themes/Oxygen/TransferModel.cpp b/plugins/Themes/Oxygen/TransferModel.cpp
index 2959598..607658c 100755
--- a/plugins/Themes/Oxygen/TransferModel.cpp
+++ b/plugins/Themes/Oxygen/TransferModel.cpp
@@ -321,7 +321,12 @@ std::vector<uint64_t> TransferModel::synchronizeItems(const std::vector<Ultracop
if(!oldIndexes.isEmpty())
{
+ #if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
+ const QList<quint64> &l = oldMapping.values();
+ const QSet<quint64> ids(l.cbegin(),l.cend());
+ #else
const QSet<quint64> ids = oldMapping.values().toSet();
+ #endif
for ( unsigned int i = 0; i < transfertItemList.size(); i++ ) {
const TransferModel::TransfertItem& item = transfertItemList.at(i);
diff --git a/plugins/Themes/Oxygen/informations.xml b/plugins/Themes/Oxygen/informations.xml
index ae56609..c944d32 100755
--- a/plugins/Themes/Oxygen/informations.xml
+++ b/plugins/Themes/Oxygen/informations.xml
@@ -17,7 +17,7 @@
<description xml:lang="en"><![CDATA[Oxygen style for Ultracopier]]></description>
<description xml:lang="fr"><![CDATA[Style oxygen pour Ultracopier]]></description>
<!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number -->
- <version>2.2.4.5</version>
+ <version>2.2.4.7</version>
<!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. -->
<name>Oxygen</name>
<!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. -->