From b65ab2398dcbc2f5c9b1ec33ac0bbf863e3df0ca Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 13 Oct 2018 05:10:14 +0200 Subject: Print destination file when adding sources Use a function to generate the path, so we can reuse it when actually copying files :) --- copydialog.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'copydialog.h') diff --git a/copydialog.h b/copydialog.h index 8a32372..0eed637 100644 --- a/copydialog.h +++ b/copydialog.h @@ -16,8 +16,11 @@ class CopyDialog : public QDialog { void setSource(const QString &src); void setDestFolder(const QString &dst); void setSources(const QStringList &sources); + void refresh(); + protected: + QString getDestinationFile(const QString &srcFn); virtual void closeEvent(QCloseEvent *e); private: -- cgit v1.2.3-70-g09d2