enabled flash on linux. Add dependence when installing Sankore

preferencesAboutTextFull
Claudio Valerio 13 years ago
parent 782a518c6a
commit 0b4dc7241a
  1. 12
      src/board/UBBoardController.cpp

@ -918,13 +918,7 @@ void UBBoardController::downloadFinished(bool pSuccess, QUrl sourceUrl, QString
else if (mimeType.startsWith("application/x-shockwave-flash"))
{
bool acceptFlash = true;
#ifdef Q_WS_X11
acceptFlash = false;
#endif
if (acceptFlash)
{
qDebug() << "accepting mime type" << mimeType << "as flash";
QString sUrl = sourceUrl.toString();
@ -967,11 +961,7 @@ void UBBoardController::downloadFinished(bool pSuccess, QUrl sourceUrl, QString
if (eduMediaFile)
delete eduMediaFile;
}
else
{
UBApplication::showMessage(tr("Flash is not supported on Sankore Linux"));
}
}
else if (mimeType.startsWith("application/pdf"))
{

Loading…
Cancel
Save