[Qt4-preview-feedback] erronous QDesktopService storage location
Richard
richardmg at trolltech.com
Wed Feb 4 09:11:16 CET 2009
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
> Qt4-preview-feedback at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
More information about the Qt4-feedback
mailing list