@@ -101,10 +101,10 @@ KsMainWindow::KsMainWindow(QWidget *parent)
&_view, &KsTraceViewer::showRow);
connect(&_graph, &KsTraceGraph::deselect,
- this, &KsMainWindow::_deselect);
+ this, &KsMainWindow::_deselectActive);
connect(&_view, &KsTraceViewer::deselect,
- this, &KsMainWindow::_deselect);
+ this, &KsMainWindow::_deselectActive);
connect(&_data, &KsDataStore::updateWidgets,
&_view, &KsTraceViewer::update);
@@ -117,7 +117,7 @@ KsMainWindow::KsMainWindow(QWidget *parent)
_deselectShortcut.setKey(Qt::CTRL + Qt::Key_D);
connect(&_deselectShortcut, &QShortcut::activated,
- this, &KsMainWindow::_deselect);
+ this, &KsMainWindow::_deselectActive);
connect(&_mState, &KsDualMarkerSM::deselectA,
this, &KsMainWindow::_deselectA);
@@ -1136,7 +1136,7 @@ void KsMainWindow::_splitterMoved(int pos, int index)
_session.saveSplitterSize(_splitter);
}
-void KsMainWindow::_deselect()
+void KsMainWindow::_deselectActive()
{
_view.clearSelection();
_mState.activeMarker().remove();
@@ -216,7 +216,7 @@ private:
void _error(const QString &text, const QString &errCode,
bool resize, bool unloadPlugins);
- void _deselect();
+ void _deselectActive();
void _deselectA();
This method deselects the Active marker regardless of its state (A or B). The method is renamed in order to avoid confusion with the methods for deselecting markers A and B. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=202327 Signed-off-by: Yordan Karadzhov <ykaradzhov@vmware.com> --- kernel-shark/src/KsMainWindow.cpp | 8 ++++---- kernel-shark/src/KsMainWindow.hpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-)