diff mbox series

kernel-shark-qt: Debug the Quick Context Menu

Message ID 20181129145600.8803-1-ykaradzhov@vmware.com (mailing list archive)
State Accepted
Commit 56b59f3625d23076332c395bf5c98c90cc3133a0
Headers show
Series kernel-shark-qt: Debug the Quick Context Menu | expand

Commit Message

Yordan Karadzhov Nov. 29, 2018, 2:56 p.m. UTC
This patch fixes a simple bug in KsQuickContextMenu::_hideTask().

Signed-off-by: Yordan Karadzhov <ykaradzhov@vmware.com>
---
 kernel-shark-qt/src/KsQuickContextMenu.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/kernel-shark-qt/src/KsQuickContextMenu.cpp b/kernel-shark-qt/src/KsQuickContextMenu.cpp
index 95ffc4f..815e4b9 100644
--- a/kernel-shark-qt/src/KsQuickContextMenu.cpp
+++ b/kernel-shark-qt/src/KsQuickContextMenu.cpp
@@ -168,7 +168,7 @@  void KsQuickContextMenu::_hideTask()
 		return;
 
 	vec =_getFilterVector(kshark_ctx->hide_task_filter, pid);
-	_data->applyPosTaskFilter(vec);
+	_data->applyNegTaskFilter(vec);
 }
 
 void KsQuickContextMenu::_showTask()