Corrected an issue on MAC regarding the document updater.

preferencesAboutTextFull
shibakaneki 14 years ago
parent acac135700
commit 4eab7b7881
  1. 6
      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();
}
}

Loading…
Cancel
Save