Commit fe184c45 authored by Friedemann Kleint's avatar Friedemann Kleint Committed by Daniel Teske
Browse files

Fix warning about truncation from int to bool in resource editor.

Change-Id: Id7ea03b27e9fd36e5f452736e81992089dfc73b5
Reviewed-by: default avatarDaniel Teske <>
parent 0ae75355
......@@ -48,7 +48,7 @@ using namespace ResourceEditor::Internal;
static bool priority(const QStringList &files)
if (files.isEmpty())
return -1;
return false;
Core::MimeType mt = Core::MimeDatabase::findByFile(;
QString type = mt.type();
if (type.startsWith(QLatin1String("image/"))
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