Browse Source

Qt: Make IsSingleFileDropEvent static

Yuri Kunde Schlesner 9 năm trước cách đây
mục cha
commit
cef18c94e2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/citra_qt/main.cpp

+ 1 - 1
src/citra_qt/main.cpp

@@ -627,7 +627,7 @@ void GMainWindow::closeEvent(QCloseEvent* event) {
     QWidget::closeEvent(event);
 }
 
-bool IsSingleFileDropEvent(QDropEvent* event) {
+static bool IsSingleFileDropEvent(QDropEvent* event) {
     const QMimeData* mimeData = event->mimeData();
     return mimeData->hasUrls() && mimeData->urls().length() == 1;
 }