mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-05 15:34:57 -04:00
Remove use of deprecated QRegExp.
This commit is contained in:
@@ -22,7 +22,6 @@
|
||||
#include <QAction>
|
||||
#include <QClipboard>
|
||||
#include <QFileDialog>
|
||||
#include <QRegExp>
|
||||
#include <QScrollBar>
|
||||
#include <QMenu>
|
||||
#include <QDesktopServices>
|
||||
@@ -467,8 +466,9 @@ void DSCDemodGUI::filterRow(int row)
|
||||
if (m_settings.m_filter != "")
|
||||
{
|
||||
QTableWidgetItem *item = ui->messages->item(row, m_settings.m_filterColumn);
|
||||
QRegExp re(m_settings.m_filter);
|
||||
if (!re.exactMatch(item->text())) {
|
||||
QRegularExpression re(m_settings.m_filter);
|
||||
QRegularExpressionMatch match = re.match(item->text());
|
||||
if (!match.hasMatch()) {
|
||||
hidden = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user