Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Milou
Commits
ebe70518
Commit
ebe70518
authored
Oct 09, 2020
by
Alexander Lohnau
💬
Browse files
Fix clazy warning
parent
e0a0b34c
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/test/previewtest.cpp
View file @
ebe70518
...
...
@@ -49,7 +49,7 @@ int main(int argc, char **argv)
QObject
*
obj
=
component
.
create
();
QQuickItem
*
parentItem
=
obj
->
property
(
"contentItem"
).
value
<
QQuickItem
*>
();
QString
url
=
parser
.
positionalArguments
().
f
irst
();
const
QString
url
=
parser
.
positionalArguments
().
constF
irst
();
QMimeDatabase
db
;
QString
mimetype
=
db
.
mimeTypeForFile
(
url
).
name
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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