Commit d6197e6a authored by Wolfgang Bauer's avatar Wolfgang Bauer

Revert "Fix destination file dialog's mode flags"

This reverts commit a2dd36a5.

KUrlRequester::setMode() actually does expect KFile::Modes as argument,
and that commit broke the build.
parent 2067821d
...@@ -97,7 +97,7 @@ void NewTransferDialog::setMultiple(bool useMultiple) ...@@ -97,7 +97,7 @@ void NewTransferDialog::setMultiple(bool useMultiple)
ui.urlLabel->setAlignment(alignment); ui.urlLabel->setAlignment(alignment);
ui.urlRequester->setVisible(!m_multiple); ui.urlRequester->setVisible(!m_multiple);
ui.listWidget->setVisible(m_multiple); ui.listWidget->setVisible(m_multiple);
ui.destRequester->setMode(m_multiple ? QFileDialog::Directory : QFileDialog::AnyFile); ui.destRequester->setMode(m_multiple ? KFile::Directory : KFile::File);
} }
void NewTransferDialog::clear() void NewTransferDialog::clear()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment