Skip to content

Commit f231990

Browse files
committed
One more header not in qt5
1 parent f9e7eda commit f231990

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/lib/configlib/model.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,6 @@ void FilteredIMModel::filterIMEntryList(
443443
// 1. "enabledIMs" is usually very small.
444444
// 2. CurrentIM mode need to keep order by enabledIMs.
445445
if (mode_ == CurrentIM) {
446-
int row = 0;
447446
QMap<QString, const FcitxQtInputMethodEntry *> nameMap;
448447
for (auto &imEntry : imEntryList) {
449448
nameMap.insert(imEntry.uniqueName(), &imEntry);
@@ -452,7 +451,6 @@ void FilteredIMModel::filterIMEntryList(
452451
for (const auto &im : enabledIMList) {
453452
if (auto value = nameMap.value(im.key(), nullptr)) {
454453
filteredIMEntryList_.append(*value);
455-
row++;
456454
}
457455
}
458456
} else if (mode_ == AvailIM) {

src/plasmathemegenerator/main.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
#include <QStringLiteral>
2323
#include <Qt>
2424
#include <QtNumeric>
25-
#include <QtTypes>
2625
#include <algorithm>
2726
#include <cerrno>
2827
#include <fcitx-config/iniparser.h>

0 commit comments

Comments
 (0)