Make static

This commit is contained in:
Jonas Kvinge
2024-06-12 18:07:58 +02:00
parent cb8022c55d
commit f5002cae36
9 changed files with 10 additions and 10 deletions

View File

@@ -222,7 +222,7 @@ QUrl DeviceLister::MakeUrlFromLocalPath(const QString &path) const {
}
bool DeviceLister::IsIpod(const QString &path) const {
bool DeviceLister::IsIpod(const QString &path) {
return QFile::exists(path + QStringLiteral("/iTunes_Control")) ||
QFile::exists(path + QStringLiteral("/iPod_Control")) ||
QFile::exists(path + QStringLiteral("/iTunes/iTunes_Control"));

View File

@@ -91,10 +91,10 @@ class DeviceLister : public QObject {
protected:
virtual bool Init() = 0;
QUrl MakeUrlFromLocalPath(const QString &path) const;
bool IsIpod(const QString &path) const;
static bool IsIpod(const QString &path);
QVariantList GuessIconForPath(const QString &path);
QVariantList GuessIconForModel(const QString &vendor, const QString &model);
static QVariantList GuessIconForModel(const QString &vendor, const QString &model);
protected:
QThread *thread_;