diff options
author | Arno <arno@disconnect.de> | 2016-12-03 00:00:16 +0100 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2016-12-03 00:00:16 +0100 |
commit | 0432c09d7889009beb9557e0546d0c4f240bb37e (patch) | |
tree | b401ce1815e4e33e4ef79b9a69727f70a80e6e1b /ShemovCleaner.pro | |
parent | c8d8c71460c7e7d403c9dba1addc850a361d3e9c (diff) | |
download | ShemovCleaner-0432c09d7889009beb9557e0546d0c4f240bb37e.tar.gz ShemovCleaner-0432c09d7889009beb9557e0546d0c4f240bb37e.tar.bz2 ShemovCleaner-0432c09d7889009beb9557e0546d0c4f240bb37e.zip |
Actually use Copy Files to...
Create a FileCopier and show a custom, non-modal progress dialog when
we're copying files.
Turns out that a QProgressDialog always shows when it's created. This is
by design, so I had to implement one that fits my needs.
Also, a buffer size of 32K (as used in MKVMerger) is way too small to
max out the available bandwidth, so I set it to an (arbitrary) value of
16MB.
Diffstat (limited to 'ShemovCleaner.pro')
-rw-r--r-- | ShemovCleaner.pro | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ShemovCleaner.pro b/ShemovCleaner.pro index f838cce..acf5065 100644 --- a/ShemovCleaner.pro +++ b/ShemovCleaner.pro @@ -27,7 +27,9 @@ SOURCES += main.cpp\ globals.cpp \ actorwidget.cpp \ origindialog.cpp \ - viewer.cpp + viewer.cpp \ + filecopier.cpp \ + progressdialog.cpp HEADERS += \ filesorter.h \ @@ -42,7 +44,9 @@ HEADERS += \ globals.h \ actorwidget.h \ origindialog.h \ - viewer.h + viewer.h \ + filecopier.h \ + progressdialog.h DISTFILES += |