Commit d21d341a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Port deprecated methode

parent f2b58878
Pipeline #191190 passed with stage
in 2 minutes and 14 seconds
......@@ -12,6 +12,7 @@
#include <Selector.hxx>
#include <KUrlCompletion>
#include <KLineEdit>
#include <QPushButton>
#include <QFileDialog>
......@@ -50,7 +51,7 @@ MainWidget::MainWidget(QWidget *parent)
connect(Archiver::instance, &Archiver::backupTypeChanged, this, &MainWidget::setIsIncrementalBackup);
connect(ui.folder, &QAbstractButton::clicked, this, &MainWidget::getMediaSize);
connect(ui.targetDir, SIGNAL(returnPressed(const QString &)), this, SLOT(setTargetURL(const QString &)));
connect(ui.targetDir, &KLineEdit::returnKeyPressed, this, &MainWidget::setTargetURL);
KUrlCompletion *kc = new KUrlCompletion(KUrlCompletion::DirCompletion);
ui.targetDir->setCompletionObject(kc);
......
Supports Markdown
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