Fix "open with" functionality on OSX (FileOpenEvent)
authorShawn Rutledge <shawn.rutledge@digia.com>
Thu, 11 Oct 2012 11:09:56 +0000 (13:09 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 13 Oct 2012 03:51:19 +0000 (05:51 +0200)
commitab926916d2b831979293a1a10af0ad759563913c
treed62d4f1818acb4a349a2dfd62255c90aa57ca391
parentbcbcf5e71884b006b0c89c4509af171de5aa59d7
Fix "open with" functionality on OSX (FileOpenEvent)

QGuiApplicationPrivate::processWindowSystemEvent needs to handle the
FileOpen event type so that applications can receive the events from
the Finder.  This makes it possible to e.g. double-click a qml file
and open it in QML Viewer.

Task-number: QTBUG-26855
Change-Id: I1e14e478460e8823095e4a33cee1e0defbf76d8b
Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
src/gui/kernel/qguiapplication.cpp