summaryrefslogtreecommitdiffstats
path: root/bluetooth/bluetoothmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bluetooth/bluetoothmodel.cpp')
-rw-r--r--bluetooth/bluetoothmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bluetooth/bluetoothmodel.cpp b/bluetooth/bluetoothmodel.cpp
index 605f950..dafdd54 100644
--- a/bluetooth/bluetoothmodel.cpp
+++ b/bluetooth/bluetoothmodel.cpp
@@ -248,5 +248,5 @@ bool BluetoothModelFilter::filterAcceptsRow(int sourceRow, const QModelIndex &so
QModelIndex index = model->index(sourceRow);
bool paired = model->data(index, BluetoothModel::BluetoothRoles::PairedRole).toBool();
- return ((paired ? "true" : "false") == filterRegExp().pattern());
+ return ((paired ? "true" : "false") == filterRegularExpression().pattern());
}