Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
kdenlive
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Scott Petrovic
kdenlive
Commits
f11e0df0
Commit
f11e0df0
authored
Jun 18, 2016
by
David Faure
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enabled -DQT_NO_CAST_TO_ASCII and fix compilation accordingly
parent
45e66b03
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
CMakeLists.txt
CMakeLists.txt
+1
-0
src/utils/resourcewidget.cpp
src/utils/resourcewidget.cpp
+1
-1
No files found.
CMakeLists.txt
View file @
f11e0df0
...
...
@@ -31,6 +31,7 @@ include(KDECMakeSettings)
include
(
KDECompilerSettings
)
include
(
ECMOptionalAddSubdirectory
)
add_definitions
(
-DQT_NO_CAST_TO_ASCII
)
add_definitions
(
-DQT_NO_URL_CAST_FROM_STRING
)
add_definitions
(
-DTRANSLATION_DOMAIN=\"kdenlive\"
)
...
...
src/utils/resourcewidget.cpp
View file @
f11e0df0
...
...
@@ -765,7 +765,7 @@ void ResourceWidget::slotAccessTokenReceived(QString sAccessToken)
QUrl
srcUrl
(
m_currentInfo
.
itemDownload
);
request
.
setUrl
(
srcUrl
);
// Download url of a freesound file
// eg https://www.freesound.org/apiv2/sounds/39206/download/
request
.
setRawHeader
(
QByteArray
(
"Authorization"
),
QByteArray
(
"Bearer "
).
append
(
sAccessToken
));
request
.
setRawHeader
(
QByteArray
(
"Authorization"
),
QByteArray
(
"Bearer"
).
append
(
sAccessToken
.
toUtf8
()
));
m_meta
=
""
;
m_desc
=
"<br><b>"
+
i18n
(
"Starting File Download"
)
+
"</b><br>"
;
...
...
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