master
Marius Kintel 2015-03-03 23:49:07 -05:00
parent 0d2c1f5466
commit e24fb72092
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ public:
EventFilter(QObject *parent) : QObject(parent) {}
protected:
bool eventFilter(QObject *obj, QEvent *event) {
// Handle Apple event for opening files
// Handle Apple event for opening files, only available on OS X
if (event->type() == QEvent::FileOpen) {
QFileOpenEvent *foe = static_cast<QFileOpenEvent *>(event);
const QString &filename = foe->file();