Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Desktop
Commits
8a17d50a
Commit
8a17d50a
authored
Mar 30, 2022
by
Volker Krause
Browse files
Adapt to QWidget::enterEvent changes in Qt6
parent
2667527a
Pipeline
#157374
passed with stage
in 4 minutes and 39 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
kcms/touchpad/kcm/xlib/testarea.cpp
View file @
8a17d50a
...
...
@@ -25,7 +25,11 @@ TestArea::TestArea(QWidget *parent)
m_ui
.
scrollAreaWidgetContents
->
setStyleSheet
(
stylesheet
.
arg
(
wallpaper
));
}
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
void
TestArea
::
enterEvent
(
QEvent
*
e
)
#else
void
TestArea
::
enterEvent
(
QEnterEvent
*
e
)
#endif
{
Q_EMIT
enter
();
QWidget
::
enterEvent
(
e
);
...
...
kcms/touchpad/kcm/xlib/testarea.h
View file @
8a17d50a
...
...
@@ -20,7 +20,11 @@ Q_SIGNALS:
void
leave
();
protected:
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
void
enterEvent
(
QEvent
*
)
override
;
#else
void
enterEvent
(
QEnterEvent
*
)
override
;
#endif
void
leaveEvent
(
QEvent
*
)
override
;
private:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment