Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lifo
Nicolas Ollinger
OpenBoard
Commits
a74d840f
Commit
a74d840f
authored
Apr 11, 2016
by
Craig Watson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix built-in applications' icons not being set when added to favorites
parent
6771615d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
UBFeaturesController.cpp
src/board/UBFeaturesController.cpp
+2
-2
No files found.
src/board/UBFeaturesController.cpp
View file @
a74d840f
...
...
@@ -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
(
"
OpenboardT
ool://"
))
if
(
fileName
.
contains
(
"
openboardt
ool://"
))
return
fileName
;
return
url
.
toLocalFile
();
}
...
...
@@ -630,7 +630,7 @@ UBFeatureElementType UBFeaturesController::fileTypeFromUrl(const QString &path)
{
QFileInfo
fileInfo
(
path
);
if
(
path
.
contains
(
"
OpenboardT
ool://"
))
if
(
path
.
contains
(
"
openboardt
ool://"
))
return
FEATURE_INTERNAL
;
if
(
!
fileInfo
.
exists
())
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment