fix compile error on mac

This commit is contained in:
Peinthor Rene
2013-03-31 10:15:25 +02:00
parent a258b66f1d
commit 805944eab9

View File

@@ -57,7 +57,7 @@ static pascal OSErr odocHandler(const AppleEvent* inEvent, AppleEvent*
char buf[1024];
err = FSRefMakePath(&ref, reinterpret_cast<UInt8*>(buf), 1024);
if ( err == noErr )
reinterpret_cast<mainForm*>(refCon)->fileOpen(QString::fromUtf8(buf));
reinterpret_cast<MainWindow*>(refCon)->fileOpen(QString::fromUtf8(buf));
}
}
}