Skip to content

Commit b6b5fc8

Browse files
pre-commit-ci[bot]Waqar144
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 26f0f14 commit b6b5fc8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

launcher/ui/processmodel.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,7 @@ void ProcessModel::mergeProcesses(const ProcDataList &processes)
102102
}
103103
}
104104

105-
while (m_data.size() != sortedProcesses.size())
106-
{
105+
while (m_data.size() != sortedProcesses.size()) {
107106
int i = m_data.size() - 1;
108107
beginRemoveRows(QModelIndex(), i, i);
109108
m_data.removeAt(i);

tests/launcheruiprocesslisttest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ private slots:
3131

3232
QVERIFY(!newList.isEmpty());
3333

34-
const auto& proc = newList[0];
34+
const auto &proc = newList[0];
3535
QVERIFY(proc.ppid != 0);
3636
QVERIFY(!proc.name.isEmpty());
3737
QVERIFY(!proc.state.isEmpty());

0 commit comments

Comments
 (0)