From 8eef2dc865dcef1bc4024f2aa0731a1e04ca4689 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Le=20Bihan?= Date: Mon, 6 Apr 2020 02:07:58 +0200 Subject: [PATCH] removing old debug function in CGramDebug.cpp --- sources/Debugger/CGramDebug.cpp | 9 +-------- sources/Debugger/CGramDebug.hpp | 4 ---- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/sources/Debugger/CGramDebug.cpp b/sources/Debugger/CGramDebug.cpp index f2ae435..1a273fb 100644 --- a/sources/Debugger/CGramDebug.cpp +++ b/sources/Debugger/CGramDebug.cpp @@ -117,11 +117,4 @@ QVariant CGramModel::data(const QModelIndex &index, int role) const green = green * 255U / 31U; blue = blue * 255U / 31U; return QColor(red, green, blue); -} - -void CGramModel::enterEvent(QMouseEvent *event) -{ - this->x = event->x(); - this->y = event->y(); - emit mouseEnter(); -} +} \ No newline at end of file diff --git a/sources/Debugger/CGramDebug.hpp b/sources/Debugger/CGramDebug.hpp index 018b2e6..03c5d62 100644 --- a/sources/Debugger/CGramDebug.hpp +++ b/sources/Debugger/CGramDebug.hpp @@ -86,10 +86,6 @@ public: int columnCount(const QModelIndex &parent) const override; //! @brief Return a data representing the table cell. QVariant data(const QModelIndex &index, int role) const override; - //! @brief Qt Mouse hover enter event - void enterEvent(QMouseEvent *event); -signals: - void mouseEnter(); }; namespace ComSquare::Debugger