Commit 421199b4 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make it compile for the moment. i need to adapt kregularexpression

parent 4014ce2d
......@@ -98,6 +98,7 @@ void RegexpEditorLineEdit::slotOpenRegexpEditor()
return;
}
}
#if 0
KRegExpEditorInterface *iface = qobject_cast<KRegExpEditorInterface *>(s_regexpeditorinstalled->mEditorDialog);
Q_ASSERT(iface); // This should not fail!
......@@ -107,6 +108,9 @@ void RegexpEditorLineEdit::slotOpenRegexpEditor()
if (s_regexpeditorinstalled->mEditorDialog->exec() == QDialog::Accepted) {
mLineEdit->setText(iface->regExp());
}
#else
qCWarning(REGEXPEDITORLINEEDITPLUGIN_LOG) << "KRegExpEditorInterface is deprecated. Need to adapt KRegExpEditor first ";
#endif
}
void RegexpEditorLineEdit::switchToRegexpEditorLineEdit(bool regexpEditor)
......
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