aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/playstate.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2019-04-04 21:53:46 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2019-04-04 21:53:46 +0000
commit6e0f34f5f57e47ba9c09be0640db971af2191631 (patch)
tree05f9bd10b60f464fa4a72fb27d97393c4b2eb9c5 /src/qmmpui/playstate.cpp
parent64a0861bc42b2667a562ce8fbf82081282241bbc (diff)
downloadqmmp-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/playstate.cpp')
-rw-r--r--src/qmmpui/playstate.cpp6
1 files changed, 5 insertions, 1 deletions
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();