* src/frontends/qt2/QWorkArea.C: fix compilation on OS X

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13690 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2006-04-17 16:44:37 +00:00
parent f6bcac7285
commit 4700431096

View File

@ -171,7 +171,7 @@ pascal OSErr handleOpenDocuments(const AppleEvent* inEvent,
FSRefMakePath(&ref, (UInt8*)qstr_buf,
1024);
s_arg=QString::fromUtf8(qstr_buf);
wa_ptr->dispatch(
wa_ptr->view().view()->workAreaDispatch(
FuncRequest(LFUN_FILE_OPEN,
fromqstr(s_arg)));
break;