From 4eab7b78818cc074f748b2d27a7b7ea62f83157f Mon Sep 17 00:00:00 2001 From: shibakaneki Date: Fri, 6 May 2011 09:12:40 +0200 Subject: [PATCH] Corrected an issue on MAC regarding the document updater. --- src/transition/UniboardSankoreTransition.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/transition/UniboardSankoreTransition.cpp b/src/transition/UniboardSankoreTransition.cpp index 0018d10b..55ede803 100644 --- a/src/transition/UniboardSankoreTransition.cpp +++ b/src/transition/UniboardSankoreTransition.cpp @@ -8,7 +8,11 @@ UniboardSankoreTransition::UniboardSankoreTransition(QObject *parent) : QObject(parent) { mUniboardSourceDirectory = UBFileSystemUtils::normalizeFilePath(UBDesktopServices::storageLocation(QDesktopServices::DataLocation)); +#if defined(Q_WS_MACX) + mUniboardSourceDirectory.replace("Sankore/Sankore 3.1", "Uniboard"); +#else mUniboardSourceDirectory.replace("Sankore/Sankore 3.1", "Mnemis/Uniboard"); +#endif } UniboardSankoreTransition::~UniboardSankoreTransition() { @@ -78,4 +82,4 @@ void UniboardSankoreTransition::startDocumentTransition() emit transitionFinished(result); mTransitionDlg->hide(); -} \ No newline at end of file +}