Thanks for the patch. It will go into Qt-4.5.1

-Richard




Den Jan 29, 2009 kl. 9:48 AM skrev Luc Devallonné:

> Hello,
>
> On OSX, the QDesktopService::storageLocation is missing a /
>
> Here is the patch :
>
> diff --git a/src/gui/util/qdesktopservices_mac.cpp
> b/src/gui/util/qdesktopservices_mac.cpp
> index 4904d47..6b27046 100644
> --- a/src/gui/util/qdesktopservices_mac.cpp
> +++ b/src/gui/util/qdesktopservices_mac.cpp
> @@ -148,7 +148,7 @@ QString
> QDesktopServices::storageLocation(StandardLocation type)
>
>     if (QDesktopServices::DataLocation == type
>         || QDesktopServices::CacheLocation == type)
> -        path += QCoreApplication::applicationName();
> +        path += "/" + QCoreApplication::applicationName();
>
>     return path;
> }
>
> -- 
> Luc
> _______________________________________________
> Qt4-preview-feedback mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback


_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to