Skip to content

Commit

Permalink
[Fix] Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
alphaonex86 committed Sep 21, 2020
1 parent 3f55893 commit 06b9888
Show file tree
Hide file tree
Showing 22 changed files with 36,007 additions and 5,039 deletions.
1,576 changes: 1,562 additions & 14 deletions plugins/Languages/ar/translation.ts

Large diffs are not rendered by default.

1,576 changes: 1,562 additions & 14 deletions plugins/Languages/de/translation.ts

Large diffs are not rendered by default.

2,362 changes: 1,955 additions & 407 deletions plugins/Languages/el/translation.ts

Large diffs are not rendered by default.

1,600 changes: 1,574 additions & 26 deletions plugins/Languages/es/translation.ts

Large diffs are not rendered by default.

1,600 changes: 1,574 additions & 26 deletions plugins/Languages/fr/translation.ts

Large diffs are not rendered by default.

2,362 changes: 1,955 additions & 407 deletions plugins/Languages/hi/translation.ts

Large diffs are not rendered by default.

1,570 changes: 1,559 additions & 11 deletions plugins/Languages/hu/translation.ts

Large diffs are not rendered by default.

2,362 changes: 1,955 additions & 407 deletions plugins/Languages/id/translation.ts

Large diffs are not rendered by default.

1,576 changes: 1,562 additions & 14 deletions plugins/Languages/it/translation.ts

Large diffs are not rendered by default.

2,360 changes: 1,954 additions & 406 deletions plugins/Languages/ja/translation.ts

Large diffs are not rendered by default.

1,556 changes: 1,552 additions & 4 deletions plugins/Languages/ko/translation.ts

Large diffs are not rendered by default.

2,362 changes: 1,955 additions & 407 deletions plugins/Languages/nl/translation.ts

Large diffs are not rendered by default.

2,362 changes: 1,955 additions & 407 deletions plugins/Languages/no/translation.ts

Large diffs are not rendered by default.

2,362 changes: 1,955 additions & 407 deletions plugins/Languages/pl/translation.ts

Large diffs are not rendered by default.

2,362 changes: 1,955 additions & 407 deletions plugins/Languages/pt/translation.ts

Large diffs are not rendered by default.

1,570 changes: 1,559 additions & 11 deletions plugins/Languages/ru/translation.ts

Large diffs are not rendered by default.

2,362 changes: 1,955 additions & 407 deletions plugins/Languages/th/translation.ts

Large diffs are not rendered by default.

2,362 changes: 1,955 additions & 407 deletions plugins/Languages/tr/translation.ts

Large diffs are not rendered by default.

2,428 changes: 1,988 additions & 440 deletions plugins/Languages/zh_TW/translation.ts

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion plugins/Themes/Oxygen/TransferModel.cpp
Expand Up @@ -321,8 +321,12 @@ std::vector<uint64_t> TransferModel::synchronizeItems(const std::vector<Ultracop

if(!oldIndexes.isEmpty())
{
const QList<quint64> &l=oldMapping.values();
#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);
Expand Down
4 changes: 4 additions & 0 deletions plugins/Themes/Oxygen2/TransferModel.cpp
Expand Up @@ -492,8 +492,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);
Expand Down
2,366 changes: 1,957 additions & 409 deletions resources/Languages/en/translation.ts

Large diffs are not rendered by default.

0 comments on commit 06b9888

Please sign in to comment.