mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-24 00:06:24 -04:00
Fix warning
This commit is contained in:
parent
89420fccd6
commit
8e77701288
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user