migrate to QAD v2
This commit is contained in:
@@ -294,7 +294,11 @@ void CDView::calculate() {
|
||||
|
||||
|
||||
void CDView::filter(const QString & f) {
|
||||
#if QT_VERSION_MAJOR <= 5
|
||||
proxy_->setFilterRegExp(QRegExp(f, Qt::CaseInsensitive));
|
||||
#else
|
||||
proxy_->setFilterRegularExpression(QRegularExpression(f, QRegularExpression::CaseInsensitiveOption));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user