Skip to content

Commit 8e77701

Browse files
committed
Fix warning
1 parent 89420fc commit 8e77701

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/layout/qgslayoutqptdrophandler.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ QgsLayoutQptDropHandler::QgsLayoutQptDropHandler( QObject *parent )
3030
bool QgsLayoutQptDropHandler::handleFileDrop( QgsLayoutDesignerInterface *iface, const QString &file )
3131
{
3232
QFileInfo fi( file );
33-
if ( !fi.suffix().compare( QLatin1String( "qpt" ), Qt::CaseInsensitive ) == 0 )
33+
if ( fi.suffix().compare( QLatin1String( "qpt" ), Qt::CaseInsensitive ) != 0 )
3434
return false;
3535

3636
QFile templateFile( file );

0 commit comments

Comments
 (0)