Commit 2e47857a authored by Jan Möbius's avatar Jan Möbius

Fixed warning



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10731 383ad7c9-94d9-4d36-a494-682f7c89f535
parent f2a84a2e
......@@ -207,12 +207,13 @@ int Core::loadObject ( QString _filename ) {
QString filters = supportedTypes_[i].plugin->getLoadFilters();
//check extension
if ( ! filters.contains( "*." + fi.completeSuffix() , Qt::CaseInsensitive) )
if ( ! filters.contains( "*." + fi.completeSuffix() , Qt::CaseInsensitive) ) {
if ( ! filters.contains( "*." + fi.suffix() , Qt::CaseInsensitive) ) {
continue;
} else {
emit log(LOGWARN,"Found supported datatype but only the suffix is matched not the complete suffix!");
}
}
if ( OpenFlipper::Options::gui() ) {
coreWidget_->statusMessage( tr("Loading %1 ... ").arg(_filename));
......
Markdown is supported
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