forked from qt-creator/qt-creator
Qt6: enterEvent now gets passed a QEnterEvent
Add a Utils::EnterEvent for porting. Task-number: QTCREATORBUG-24098 Change-Id: I2782fe33e41a813b5562676f6dc87d6d53babdd3 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -41,13 +41,14 @@
|
||||
#include <coreplugin/modemanager.h>
|
||||
|
||||
#include <utils/algorithm.h>
|
||||
#include <utils/icon.h>
|
||||
#include <utils/fileutils.h>
|
||||
#include <utils/hostosinfo.h>
|
||||
#include <utils/icon.h>
|
||||
#include <utils/porting.h>
|
||||
#include <utils/qtcassert.h>
|
||||
#include <utils/styledbar.h>
|
||||
#include <utils/treemodel.h>
|
||||
#include <utils/theme/theme.h>
|
||||
#include <utils/treemodel.h>
|
||||
|
||||
#include <QDesktopServices>
|
||||
#include <QHeaderView>
|
||||
@@ -194,7 +195,7 @@ public:
|
||||
setLayout(layout);
|
||||
}
|
||||
|
||||
void enterEvent(QEvent *) override
|
||||
void enterEvent(EnterEvent *) override
|
||||
{
|
||||
QPalette pal;
|
||||
pal.setColor(QPalette::Window, themeColor(Theme::Welcome_HoverColor));
|
||||
|
||||
Reference in New Issue
Block a user