mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-05-07 20:40:00 -05:00
fix compile error on mac
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ static pascal OSErr odocHandler(const AppleEvent* inEvent, AppleEvent*
|
|||||||
char buf[1024];
|
char buf[1024];
|
||||||
err = FSRefMakePath(&ref, reinterpret_cast<UInt8*>(buf), 1024);
|
err = FSRefMakePath(&ref, reinterpret_cast<UInt8*>(buf), 1024);
|
||||||
if ( err == noErr )
|
if ( err == noErr )
|
||||||
reinterpret_cast<mainForm*>(refCon)->fileOpen(QString::fromUtf8(buf));
|
reinterpret_cast<MainWindow*>(refCon)->fileOpen(QString::fromUtf8(buf));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user