Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 6, 2017
1 parent 89420fc commit 8e77701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/layout/qgslayoutqptdrophandler.cpp
Expand Up @@ -30,7 +30,7 @@ QgsLayoutQptDropHandler::QgsLayoutQptDropHandler( QObject *parent )
bool QgsLayoutQptDropHandler::handleFileDrop( QgsLayoutDesignerInterface *iface, const QString &file )
{
QFileInfo fi( file );
if ( !fi.suffix().compare( QLatin1String( "qpt" ), Qt::CaseInsensitive ) == 0 )
if ( fi.suffix().compare( QLatin1String( "qpt" ), Qt::CaseInsensitive ) != 0 )
return false;

QFile templateFile( file );
Expand Down

0 comments on commit 8e77701

Please sign in to comment.