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:
parent
056f04d408
commit
779c4b928c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user