mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 17:10:44 +08:00
Made adaptation to Qt6. Now it compiles without any errors and runs.
More work is required to get rid of Qt5Compat shims
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtGui/QFont>
|
||||
#include <QtCore/QDebug>
|
||||
#include <QRegularExpression>
|
||||
|
||||
|
||||
//
|
||||
@@ -183,7 +184,7 @@ void QProcessInfoWidget::refreshView () {
|
||||
}else{
|
||||
// To find [xxx] processes : "^(\\[).*(\\])$"
|
||||
// To exclude [xxx] processes: "^(?!\\[).*(?!\\])$"
|
||||
processMatches = processTreeWidget->findItems("^(?!\\[).*(?!\\])$", Qt::MatchRegExp | Qt::MatchRecursive, 2);
|
||||
processMatches = processTreeWidget->findItems("^(?!\\[).*(?!\\])$", Qt::MatchRegularExpression | Qt::MatchRecursive, 2);
|
||||
//qDebug() << "Checkbox is off." << processMatches.size();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user