From d41fabfb56ef922429b51295d6f0f545fd309594 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Tue, 25 Feb 2020 20:55:55 +0000 Subject: 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 --- src/plugins/General/fileops/fileops.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/plugins/General/fileops/fileops.h') 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 tracks, const QString &dest, MetaDataFormatter *formatter); - void rename(const QList &tracks, MetaDataFormatter *formatter, + void copy(const QList &tracks, const QString &dest, const MetaDataFormatter *formatter); + void rename(const QList &tracks, const MetaDataFormatter *formatter, PlayListModel *model); - void move(const QList &tracks, const QString &dest, MetaDataFormatter *formatter, + void move(const QList &tracks, const QString &dest, const MetaDataFormatter *formatter, PlayListModel *model); + bool isValid(PlayListTrack *track) const; QList m_types; QStringList m_patterns; -- cgit v1.2.3-13-gbd6f