Skip to content

Commit 38e89e6

Browse files
refactor: drop swapItemsAt conditional compile
since Qt 5.15 needed
1 parent 714b3c9 commit 38e89e6

File tree

4 files changed

+1
-13
lines changed

4 files changed

+1
-13
lines changed

makespec/BUILDVERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
123
1+
124

src/base/settings.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@
1616
//
1717
#define LEMON_MODULE_NAME "Setting"
1818

19-
#if QT_VERSION < QT_VERSION_CHECK(5, 13, 0)
20-
#define swapItemsAt swap
21-
#endif
22-
2319
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
2420
#define QT_SkipEmptyParts Qt::SkipEmptyParts
2521
#else

src/core/contest.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@
2020
#include <QMessageBox>
2121
#include <utility>
2222

23-
#if QT_VERSION < QT_VERSION_CHECK(5, 13, 0)
24-
#define swapItemsAt swap
25-
#endif
26-
2723
Contest::Contest(QObject *parent) : QObject(parent) {}
2824

2925
void Contest::setSettings(Settings *_settings) { settings = _settings; }

src/core/contestant.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212
#include "core/contest.h"
1313
#include <utility>
1414

15-
#if QT_VERSION < QT_VERSION_CHECK(5, 13, 0)
16-
#define swapItemsAt swap
17-
#endif
18-
1915
Contestant::Contestant(QObject *parent) : QObject(parent) {}
2016

2117
auto Contestant::getContestantName() const -> const QString & { return contestantName; }

0 commit comments

Comments
 (0)