Qt: Make IsSingleFileDropEvent static

master
Yuri Kunde Schlesner 2017-02-16 22:41:04 +07:00
parent c81a2aabbf
commit cef18c94e2
1 changed files with 1 additions and 1 deletions

@ -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;
}