diff options
Diffstat (limited to 'src/qmmpui/playstate.cpp')
| -rw-r--r-- | src/qmmpui/playstate.cpp | 6 |
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(); |
