Fix built-in applications' icons not being set when added to favorites

preferencesAboutTextFull
Craig Watson 9 years ago
parent 6771615d91
commit a74d840fa4
  1. 4
      src/board/UBFeaturesController.cpp

@ -620,7 +620,7 @@ void UBFeaturesController::removeFromFavorite( const QUrl &path, bool deleteManu
QString UBFeaturesController::fileNameFromUrl( const QUrl &url )
{
QString fileName = url.toString();
if ( fileName.contains( "OpenboardTool://"))
if ( fileName.contains( "openboardtool://"))
return fileName;
return url.toLocalFile();
}
@ -630,7 +630,7 @@ UBFeatureElementType UBFeaturesController::fileTypeFromUrl(const QString &path)
{
QFileInfo fileInfo(path);
if ( path.contains("OpenboardTool://"))
if ( path.contains("openboardtool://"))
return FEATURE_INTERNAL;
if (!fileInfo.exists()) {

Loading…
Cancel
Save