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

Debug--

parent 88ccb191
Pipeline #144316 passed with stages
in 5 minutes and 27 seconds
......@@ -33,7 +33,6 @@ QTextDocument::FindFlags FindUtils::convertTextEditFindFlags(TextEditFindBarBase
int FindUtils::replaceAll(QTextEdit *view, const QString &str, const QString &replaceWidget, QTextDocument::FindFlags searchOptions)
{
qDebug() << " SSSSSSSSSSSSSSSSSSs";
auto document = view->document();
QTextCursor c(document);
c.beginEditBlock();
......@@ -45,7 +44,6 @@ int FindUtils::replaceAll(QTextEdit *view, const QString &str, const QString &re
if (!c.isNull()) {
// find() selects found text, and insertText() replaces selection
c.insertText(replaceWidget);
qDebug() << " replaceWidget " << replaceWidget;
count++;
} else {
break;
......
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