1
0
mirror of https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git synced 2025-04-16 10:24:45 +08:00

Fixed build warning for FloatingDragPreview.cpp

This commit is contained in:
Uwe Kindler 2019-12-16 11:47:55 +01:00
parent 056f04d408
commit 779c4b928c

View File

@ -382,6 +382,7 @@ void CFloatingDragPreview::onApplicationStateChanged(Qt::ApplicationState state)
//============================================================================ //============================================================================
bool CFloatingDragPreview::eventFilter(QObject *watched, QEvent *event) bool CFloatingDragPreview::eventFilter(QObject *watched, QEvent *event)
{ {
Q_UNUSED(watched);
if (event->type() == QEvent::KeyPress) if (event->type() == QEvent::KeyPress)
{ {
QKeyEvent* e = static_cast<QKeyEvent*>(event); QKeyEvent* e = static_cast<QKeyEvent*>(event);