Commit ebe70518 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Fix clazy warning

parent e0a0b34c
...@@ -49,7 +49,7 @@ int main(int argc, char **argv) ...@@ -49,7 +49,7 @@ int main(int argc, char **argv)
QObject* obj = component.create(); QObject* obj = component.create();
QQuickItem* parentItem = obj->property("contentItem").value<QQuickItem*>(); QQuickItem* parentItem = obj->property("contentItem").value<QQuickItem*>();
QString url = parser.positionalArguments().first(); const QString url = parser.positionalArguments().constFirst();
QMimeDatabase db; QMimeDatabase db;
QString mimetype = db.mimeTypeForFile(url).name(); QString mimetype = db.mimeTypeForFile(url).name();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment