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
20acdedc
Commit
20acdedc
authored
Jun 06, 2012
by
Claudio Valerio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wording
parent
23643c12
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
UBBoardController.cpp
src/board/UBBoardController.cpp
+1
-1
No files found.
src/board/UBBoardController.cpp
View file @
20acdedc
...
@@ -788,7 +788,7 @@ void UBBoardController::downloadFinished(bool pSuccess, QUrl sourceUrl, QString
...
@@ -788,7 +788,7 @@ void UBBoardController::downloadFinished(bool pSuccess, QUrl sourceUrl, QString
{
{
QString
mimeType
=
pContentTypeHeader
;
QString
mimeType
=
pContentTypeHeader
;
// In some cases "image/jpeg;charset=" is ret
o
urned by the drag-n-drop. That is
// In some cases "image/jpeg;charset=" is returned by the drag-n-drop. That is
// why we will check if an ; exists and take the first part (the standard allows this kind of mimetype)
// why we will check if an ; exists and take the first part (the standard allows this kind of mimetype)
int
position
=
mimeType
.
indexOf
(
";"
);
int
position
=
mimeType
.
indexOf
(
";"
);
if
(
position
!=
-
1
)
if
(
position
!=
-
1
)
...
...
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