Use [NSSavePanel directoryUrl].
[NSSavePanel directory] is deprecated. Change-Id: I3515b565a25028dc5b7c966481707e001e44a077 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
This commit is contained in:
parent
73d4fc6219
commit
5ad615ae8c
@ -586,7 +586,7 @@ QString QCocoaFileDialogHelper::directory() const
|
||||
{
|
||||
QT_MANGLE_NAMESPACE(QNSOpenSavePanelDelegate) *delegate = static_cast<QT_MANGLE_NAMESPACE(QNSOpenSavePanelDelegate) *>(mDelegate);
|
||||
if (delegate)
|
||||
return QCFString::toQString([delegate->mSavePanel directory]);
|
||||
return QCFString::toQString([[delegate->mSavePanel directoryURL] path]);
|
||||
return QString();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user