diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2020-02-25 20:55:55 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2020-02-25 20:55:55 +0000 |
| commit | d41fabfb56ef922429b51295d6f0f545fd309594 (patch) | |
| tree | e448f22c7d0015cd2cbaf316bdd7b068f2f5f84a /src/plugins/General/fileops/fileops.h | |
| parent | 935d82dbd0446de5071cb3be2ecfe12c9f5bca4b (diff) | |
| download | qmmp-d41fabfb56ef922429b51295d6f0f545fd309594.tar.gz qmmp-d41fabfb56ef922429b51295d6f0f545fd309594.tar.bz2 qmmp-d41fabfb56ef922429b51295d6f0f545fd309594.zip | |
fileops: fixed several crashes (#1035)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9247 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/fileops/fileops.h')
| -rw-r--r-- | src/plugins/General/fileops/fileops.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/plugins/General/fileops/fileops.h b/src/plugins/General/fileops/fileops.h index 6fe500ab0..092343949 100644 --- a/src/plugins/General/fileops/fileops.h +++ b/src/plugins/General/fileops/fileops.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2009-2012 by Ilya Kotov * + * Copyright (C) 2009-2020 by Ilya Kotov * * forkotov02@ya.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -53,11 +53,12 @@ private slots: void execAction(int n); private: - void copy(QList<PlayListTrack*> tracks, const QString &dest, MetaDataFormatter *formatter); - void rename(const QList<PlayListTrack *> &tracks, MetaDataFormatter *formatter, + void copy(const QList<PlayListTrack*> &tracks, const QString &dest, const MetaDataFormatter *formatter); + void rename(const QList<PlayListTrack *> &tracks, const MetaDataFormatter *formatter, PlayListModel *model); - void move(const QList<PlayListTrack*> &tracks, const QString &dest, MetaDataFormatter *formatter, + void move(const QList<PlayListTrack*> &tracks, const QString &dest, const MetaDataFormatter *formatter, PlayListModel *model); + bool isValid(PlayListTrack *track) const; QList <int> m_types; QStringList m_patterns; |
