We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89420fc commit 8e77701Copy full SHA for 8e77701
src/app/layout/qgslayoutqptdrophandler.cpp
@@ -30,7 +30,7 @@ QgsLayoutQptDropHandler::QgsLayoutQptDropHandler( QObject *parent )
30
bool QgsLayoutQptDropHandler::handleFileDrop( QgsLayoutDesignerInterface *iface, const QString &file )
31
{
32
QFileInfo fi( file );
33
- if ( !fi.suffix().compare( QLatin1String( "qpt" ), Qt::CaseInsensitive ) == 0 )
+ if ( fi.suffix().compare( QLatin1String( "qpt" ), Qt::CaseInsensitive ) != 0 )
34
return false;
35
36
QFile templateFile( file );
0 commit comments