From patchwork Thu Nov 29 14:56:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yordan Karadzhov X-Patchwork-Id: 10760069 Return-Path: Received: from mail-eopbgr740080.outbound.protection.outlook.com ([40.107.74.80]:37312 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731249AbeK3CCA (ORCPT ); Thu, 29 Nov 2018 21:02:00 -0500 From: Yordan Karadzhov To: "rostedt@goodmis.org" CC: "linux-trace-devel@vger.kernel.org" Subject: [PATCH] kernel-shark-qt: Debug the Quick Context Menu Date: Thu, 29 Nov 2018 14:56:21 +0000 Message-ID: <20181129145600.8803-1-ykaradzhov@vmware.com> Content-Language: en-US MIME-Version: 1.0 Sender: linux-trace-devel-owner@vger.kernel.org List-ID: This patch fixes a simple bug in KsQuickContextMenu::_hideTask(). Signed-off-by: Yordan Karadzhov --- kernel-shark-qt/src/KsQuickContextMenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()