From add46f996099ab632044b249f9e251d0fc1b282c Mon Sep 17 00:00:00 2001 From: Aditya Kulkarni Date: Thu, 14 Nov 2019 09:21:00 -0800 Subject: [PATCH] Fix regular exp warning --- src/sendtab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sendtab.cpp b/src/sendtab.cpp index 6c8023d..8b3e5d9 100644 --- a/src/sendtab.cpp +++ b/src/sendtab.cpp @@ -158,7 +158,7 @@ void MainWindow::updateLabelsAutoComplete() { labelCompleter->setCaseSensitivity(Qt::CaseInsensitive); // Then, find all the address fields and update the completer. - QRegExp re("Address[0-9]+", Qt::CaseInsensitive); + QRegularExpression re("Address[0-9]+", QRegularExpression::CaseInsensitiveOption); for (auto target: ui->sendToWidgets->findChildren(re)) { target->setCompleter(labelCompleter); }