mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
Qt: Make IsSingleFileDropEvent static
This commit is contained in:
parent
c81a2aabbf
commit
cef18c94e2
@ -627,7 +627,7 @@ void GMainWindow::closeEvent(QCloseEvent* event) {
|
|||||||
QWidget::closeEvent(event);
|
QWidget::closeEvent(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool IsSingleFileDropEvent(QDropEvent* event) {
|
static bool IsSingleFileDropEvent(QDropEvent* event) {
|
||||||
const QMimeData* mimeData = event->mimeData();
|
const QMimeData* mimeData = event->mimeData();
|
||||||
return mimeData->hasUrls() && mimeData->urls().length() == 1;
|
return mimeData->hasUrls() && mimeData->urls().length() == 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user