From eeaa1e83a9adc5506badff82b3fe52827149d5ef Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Thu, 10 Jun 2010 09:05:15 +0000 Subject: [PATCH] Fix typo --- src/qmacapplication.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/qmacapplication.cpp b/src/qmacapplication.cpp index 90653b1c2..485b35a3e 100644 --- a/src/qmacapplication.cpp +++ b/src/qmacapplication.cpp @@ -36,16 +36,16 @@ QMacApplication::QMacApplication(QString appid, int &argc, char** argv) : { } -bool QMacApplication::event(QEvent * event) { - switch (event->type()) { +bool QMacApplication::event(QEvent * ev) { + switch (ev->type()) { case QEvent::FileOpen: { - QString path = static_cast(event)->file(); + QString path = static_cast(ev)->file(); emit newFileOpenMacEvent(path); return true; } default: - return QtSingleApplication::event(event); + return QtSingleApplication::event(ev); } }