Qt: Make IsSingleFileDropEvent static

This commit is contained in:
Yuri Kunde Schlesner committed 2017-02-17 21:44:00 -08:00
1 parent c81a2aabbf
commit cef18c94e2
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}