Make static
This commit is contained in:
@@ -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"));
|
||||
|
||||
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user