SVN_SILENT: silly "make it seem faster" obfuscatory code like this just sets my teeth on edge =) clarity is next to goddessliness
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773474
This commit is contained in:
parent
123623d675
commit
eb5e0658df
@ -270,8 +270,8 @@ bool KCategorizedItemsViewDelegate::editorEvent(QEvent *event,
|
||||
if (event->type() == QEvent::MouseButtonPress) {
|
||||
KCategorizedItemsViewModels::AbstractItem * item = getItemByProxyIndex(index);
|
||||
if (index.column() == 1) {
|
||||
(m_onFavoriteIconItem = item)
|
||||
->setFavorite(!item->isFavorite());
|
||||
m_onFavoriteIconItem = item;
|
||||
item->setFavorite(!item->isFavorite());
|
||||
return true;
|
||||
} else if (index.column() == 2 && item->running()) {
|
||||
item->setRunning(0);
|
||||
|
Loading…
Reference in New Issue
Block a user