Browse Source
Previously when compiling, the following deprecation warning would be encountered: ``` src/mainwindow.cpp:447:70: warning: ‘QList<T> QObject::findChildren(const QRegExp&, Qt::FindChildOptions) const [with T = QLineEdit*; Qt::FindChildOptions = QFlags<Qt::FindChildOption>]’ is deprecated: Use findChildren(const QRegularExpression &, ...) instead. [-Wdeprecated-declarations] ``` This commit updates this line to the non-deprecated QT5 version of this method, which uses QRegularExpression rather than QRegExp, thus removing the warning.pull/25/head^2
greg
5 years ago
1 changed files with 2 additions and 1 deletions
Loading…
Reference in new issue