Commit 8e4335c0 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix edit rule support

parent 41e9886e
Pipeline #126609 passed with stage
in 24 minutes and 32 seconds
......@@ -61,14 +61,17 @@ void OpenUrlWithConfigureWidget::slotAddRule()
void OpenUrlWithConfigureWidget::slotEditRule()
{
QPointer<OpenUrlWithConfigureCreateDialog> dlg = new OpenUrlWithConfigureCreateDialog(this);
OpenUrlWithConfigureCreateWidget::OpenUrlWithInfo info; // TODO
dlg->setInfo(info);
if (dlg->exec()) {
const OpenUrlWithConfigureCreateWidget::OpenUrlWithInfo info = dlg->info();
// TODO
QTreeWidgetItem *item = mTreeWidget->currentItem();
if (item) {
QPointer<OpenUrlWithConfigureCreateDialog> dlg = new OpenUrlWithConfigureCreateDialog(this);
OpenUrlWithConfigureCreateWidget::OpenUrlWithInfo info; // TODO
dlg->setInfo(info);
if (dlg->exec()) {
const OpenUrlWithConfigureCreateWidget::OpenUrlWithInfo info = dlg->info();
// TODO
}
delete dlg;
}
delete dlg;
}
void OpenUrlWithConfigureWidget::slotRemoveRule()
......
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