1
0

feat: support explorer sort and hidden on Window

now playlist can use Windows Explorer's sort and hidden file display options to build it own for better browse experience on Windows
This commit is contained in:
2026-07-14 13:22:23 +08:00
parent a01d640c27
commit 81413b51da
4 changed files with 394 additions and 22 deletions

21
app/winplaylistpatch.h Normal file
View File

@@ -0,0 +1,21 @@
// SPDX-FileCopyrightText: 2026 yyc12345 <yyc12321@outlook.com>
//
// SPDX-License-Identifier: MIT
#pragma once
#include <QtSystemDetection>
#ifdef Q_OS_WIN
#include <QUrl>
class WinPlaylistPatch
{
public:
static bool loadSingleFilePlaylist(const QUrl &url,
const QStringList &allowedSuffixes,
QList<QUrl> &playlist,
std::optional<qsizetype> &indexHint);
};
#endif // Q_OS_WIN