From 6e0f34f5f57e47ba9c09be0640db971af2191631 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 4 Apr 2019 21:53:46 +0000 Subject: 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 --- src/qmmpui/playstate.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/qmmpui/playstate.cpp') 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(); -- cgit v1.2.3-13-gbd6f