From 382d85b15ce9cc4580a2522b39f5dd4ce43a24b0 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Thu, 9 Nov 2023 20:26:54 -0500 Subject: Don't use default playlist if started with files in args. --- qmidiplayer-desktop/qmpmainwindow.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qmidiplayer-desktop/qmpmainwindow.hpp') diff --git a/qmidiplayer-desktop/qmpmainwindow.hpp b/qmidiplayer-desktop/qmpmainwindow.hpp index eb36ba8..99886ba 100644 --- a/qmidiplayer-desktop/qmpmainwindow.hpp +++ b/qmidiplayer-desktop/qmpmainwindow.hpp @@ -230,6 +230,7 @@ public: void playerSeek(uint32_t percentage); PlaybackStatus getPlaybackStatus(); int parseArgs(); + bool startedWithFiles(); void registerFunctionality(qmpFuncBaseIntf *i, std::string name, std::string desc, const char *icon, int iconlen, bool checkable); void unregisterFunctionality(std::string name); int registerUIHook(std::string e, ICallBack *callback, void *userdat); -- cgit v1.2.3