Skip to content
Permalink
Browse files
Fix warning
  • Loading branch information
nyalldawson committed Dec 6, 2017
1 parent 89420fc commit 8e77701
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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 );

0 comments on commit 8e77701

Please sign in to comment.