From b5b8c72249706f04a8c08af2910c8e697cb49ac8 Mon Sep 17 00:00:00 2001 From: Craig Watson Date: Fri, 4 Dec 2015 14:00:37 +0100 Subject: [PATCH] Fixed "Add to library" button showing up for apps Caused by one occurence of "uniboardtool" having been replaced by "OpenboardTool" instead of "openboardtool". For consistency's sake, this was changed to openboardtool, but these URL / application name changes require a clean-up (all occurences of "uniboardtool" are commented out; these should either be removed, or the changes reverted) --- src/core/UBApplication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/UBApplication.cpp b/src/core/UBApplication.cpp index 5f1b560c..7c959167 100644 --- a/src/core/UBApplication.cpp +++ b/src/core/UBApplication.cpp @@ -646,7 +646,7 @@ bool UBApplication::isFromWeb(QString url) { bool res = true; - if( url.startsWith("OpenboardTool://") || + if( url.startsWith("openboardtool://") || url.startsWith("file://") || url.startsWith("/")){ res = false;