Skip to content
Permalink
Browse files

Fix warning

  • Loading branch information
nyalldawson committed Dec 6, 2017
1 parent 89420fc commit 8e7770128807fbb34245bb24a04495a808f7e138
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/layout/qgslayoutqptdrophandler.cpp
@@ -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.
You can’t perform that action at this time.