diff options
| author | 2017-02-16 22:41:04 -0800 | |
|---|---|---|
| committer | 2017-02-17 21:44:00 -0800 | |
| commit | cef18c94e223aea4747a058dcbc719f5e14a6cab (patch) | |
| tree | 9e8a6fc0ce553656301684b93d9346f94028f51b /src/citra_qt/main.cpp | |
| parent | Qt: Allow any file extension in Open dialog (diff) | |
| download | yuzu-cef18c94e223aea4747a058dcbc719f5e14a6cab.tar.gz yuzu-cef18c94e223aea4747a058dcbc719f5e14a6cab.tar.xz yuzu-cef18c94e223aea4747a058dcbc719f5e14a6cab.zip | |
Qt: Make IsSingleFileDropEvent static
Diffstat (limited to 'src/citra_qt/main.cpp')
| -rw-r--r-- | src/citra_qt/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index b5d927cf2..717552468 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp | |||
| @@ -627,7 +627,7 @@ void GMainWindow::closeEvent(QCloseEvent* event) { | |||
| 627 | QWidget::closeEvent(event); | 627 | QWidget::closeEvent(event); |
| 628 | } | 628 | } |
| 629 | 629 | ||
| 630 | bool IsSingleFileDropEvent(QDropEvent* event) { | 630 | static bool IsSingleFileDropEvent(QDropEvent* event) { |
| 631 | const QMimeData* mimeData = event->mimeData(); | 631 | const QMimeData* mimeData = event->mimeData(); |
| 632 | return mimeData->hasUrls() && mimeData->urls().length() == 1; | 632 | return mimeData->hasUrls() && mimeData->urls().length() == 1; |
| 633 | } | 633 | } |