diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2019-04-04 21:53:46 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2019-04-04 21:53:46 +0000 |
| commit | 6e0f34f5f57e47ba9c09be0640db971af2191631 (patch) | |
| tree | 05f9bd10b60f464fa4a72fb27d97393c4b2eb9c5 /src/qmmpui | |
| parent | 64a0861bc42b2667a562ce8fbf82081282241bbc (diff) | |
| download | qmmp-6e0f34f5f57e47ba9c09be0640db971af2191631.tar.gz qmmp-6e0f34f5f57e47ba9c09be0640db971af2191631.tar.bz2 qmmp-6e0f34f5f57e47ba9c09be0640db971af2191631.zip | |
fixed build with qt 5.9
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8773 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui')
| -rw-r--r-- | src/qmmpui/groupedcontainer.cpp | 4 | ||||
| -rw-r--r-- | src/qmmpui/normalcontainer.cpp | 5 | ||||
| -rw-r--r-- | src/qmmpui/playstate.cpp | 6 |
3 files changed, 14 insertions, 1 deletions
diff --git a/src/qmmpui/groupedcontainer.cpp b/src/qmmpui/groupedcontainer.cpp index d126cc37d..27284c723 100644 --- a/src/qmmpui/groupedcontainer.cpp +++ b/src/qmmpui/groupedcontainer.cpp @@ -21,6 +21,10 @@ #include "playlistmodel.h" #include "groupedcontainer_p.h" +#if QT_VERSION < QT_VERSION_CHECK(5, 13, 0) +#define swapItemsAt swap +#endif + GroupedContainer::GroupedContainer() { m_update = true; diff --git a/src/qmmpui/normalcontainer.cpp b/src/qmmpui/normalcontainer.cpp index a117187ce..96e3f4204 100644 --- a/src/qmmpui/normalcontainer.cpp +++ b/src/qmmpui/normalcontainer.cpp @@ -20,6 +20,11 @@ #include "normalcontainer_p.h" + +#if QT_VERSION < QT_VERSION_CHECK(5, 13, 0) +#define swapItemsAt swap +#endif + NormalContainer::NormalContainer() {} diff --git a/src/qmmpui/playstate.cpp b/src/qmmpui/playstate.cpp index 34f350b7a..184517109 100644 --- a/src/qmmpui/playstate.cpp +++ b/src/qmmpui/playstate.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006-2013 by Ilya Kotov * + * Copyright (C) 2006-2019 by Ilya Kotov * * forkotov02@ya.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -21,6 +21,10 @@ #include "qmmpuisettings.h" #include "playstate_p.h" +#if QT_VERSION < QT_VERSION_CHECK(5, 13, 0) +#define swapItemsAt swap +#endif + PlayState::PlayState(PlayListModel *model) : m_model(model) { m_ui_settings = QmmpUiSettings::instance(); |
