summaryrefslogtreecommitdiffstats
path: root/copydialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'copydialog.cpp')
-rw-r--r--copydialog.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/copydialog.cpp b/copydialog.cpp
index 625ccac..38a5b9f 100644
--- a/copydialog.cpp
+++ b/copydialog.cpp
@@ -36,6 +36,7 @@ CopyDialog::CopyDialog(QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f)
dirGB->setLayout(dirGrid);
QHBoxLayout *resultL = new QHBoxLayout;
mResultL = new QLabel;
+ mResultL->setAlignment(Qt::AlignTop | Qt::AlignLeft);
resultL->addWidget(mResultL);
QGroupBox *resultGB = new QGroupBox(tr("Result"));
resultGB->setLayout(resultL);
@@ -78,6 +79,10 @@ void CopyDialog::setDestFolder(const QString &dst){
mFolderE->setText(dst);
}
+void CopyDialog::setSources(const QStringList &sources){
+ mSources = sources;
+}
+
void CopyDialog::closeEvent(QCloseEvent *e){
QSettings s;
s.setValue("copydlgsize", size());