Commit 1fb3b040 authored by Laurent Montel's avatar Laurent Montel
Browse files

Fix some qt6 compile error

parent 28e2ce2e
Pipeline #142943 passed with stage
in 1 minute and 22 seconds
......@@ -194,7 +194,7 @@ void SensorManager::retranslate()
for (int i = 0; i < 3; i++) {
mDict.insert(QLatin1String("PECI Agent ") + QString::number(i), i18n("PECI Temperature Sensor %1", i + 1));
mDict.insert(QLatin1String("PECI Agent %1 Calibration").arg(i), i18n("PECI Temperature Calibration %1", i + 1));
mDict.insert(QLatin1String("PECI Agent %1 Calibration").arg(QString::number(i)), i18n("PECI Temperature Calibration %1", i + 1));
}
for (int i = 0; i < 32; i++) {
......
......@@ -493,7 +493,7 @@ void KSysGuardProcessList::setState(ProcessFilter::State state)
}
void KSysGuardProcessList::filterTextChanged(const QString &newText)
{
d->mFilterModel.setFilterRegExp(newText.trimmed());
d->mFilterModel.setFilterRegularExpression(newText.trimmed());
if (isVisible())
expandInit();
d->mUi->btnKillProcess->setEnabled(d->mUi->treeView->selectionModel()->hasSelection());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment