From 367d55b987ffa22ed9838fd2c27384aac680823e Mon Sep 17 00:00:00 2001 From: Pavel Shliak Date: Sun, 19 Mar 2023 04:15:53 +0300 Subject: [PATCH] Simplify signal-slot connection in Pstable --- src/pstable.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pstable.cpp b/src/pstable.cpp index 7242123..c07e9e8 100644 --- a/src/pstable.cpp +++ b/src/pstable.cpp @@ -376,8 +376,7 @@ Pstable::Pstable(QWidget *parent, Procview *pv) : HeadedTable(parent, 0) connect(this, &HeadedTable::titleClicked, this, &Pstable::setSortColumn); connect(this, &HeadedTable::foldSubTree, this, &Pstable::subtree_folded); - connect(head, SIGNAL(toolTip(QPoint, int)), this, - SLOT(showTip(QPoint, int))); + connect(head, &TableHead::toolTip, this, &Pstable::showTip); connect(this, &HeadedTable::flyOnCell, this, &Pstable::mouseOnCell ); connect(this, &HeadedTable::outOfCell, this, &Pstable::mouseOutOfCell); }