Commit 50229e7e authored by Gregor Mi's avatar Gregor Mi
Browse files

Fix whitespace

Summary: this patch was extracted from here https://phabricator.kde.org/D10297

Test Plan: still compiles

Reviewers: #plasma, broulik

Reviewed By: #plasma, broulik

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D10535
parent cfaa0a2d
......@@ -414,8 +414,8 @@ void KSysGuardProcessList::filterTextChanged(const QString &newText) {
d->mFilterModel.setFilterRegExp(newText.trimmed());
if(isVisible())
expandInit();
d->mUi->btnKillProcess->setEnabled( d->mUi->treeView->selectionModel()->hasSelection() );
d->mUi->treeView->scrollTo( d->mUi->treeView->currentIndex());
d->mUi->btnKillProcess->setEnabled(d->mUi->treeView->selectionModel()->hasSelection());
d->mUi->treeView->scrollTo(d->mUi->treeView->currentIndex());
}
int KSysGuardProcessList::visibleProcessesCount() const {
......@@ -454,7 +454,7 @@ void KSysGuardProcessList::selectionChanged()
if(numSelected == d->mNumItemsSelected)
return;
d->mNumItemsSelected = numSelected;
d->mUi->btnKillProcess->setEnabled( numSelected != 0 );
d->mUi->btnKillProcess->setEnabled(numSelected != 0);
d->renice->setText(i18np("Set Priority...", "Set Priority...", numSelected));
d->kill->setText(i18np("Forcibly Kill Process", "Forcibly Kill Processes", numSelected));
......
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