Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix clazy warning
  • Loading branch information
nyalldawson committed May 15, 2023
1 parent 7cf4afd commit 256b802
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/qgisapp.h
Expand Up @@ -2238,7 +2238,7 @@ class APP_EXPORT QgisApp : public QMainWindow, private Ui::MainWindow
const QString &layerName,
const QString &encoding,
const QString &vectorFileName )> &onSuccess, const std::function< void ( int error, const QString &errorMessage ) > &onFailure,
QgsVectorLayerSaveAsDialog::Options dialogOptions = QgsVectorLayerSaveAsDialog::AllOptions,
QgsVectorLayerSaveAsDialog::Options dialogOptions = QgsVectorLayerSaveAsDialog::Option::AllOptions,
const QString &dialogTitle = QString() );

QString saveAsPointCloudLayer( QgsPointCloudLayer *pclayer );
Expand Down
2 changes: 1 addition & 1 deletion src/gui/ogr/qgsvectorlayersaveasdialog.cpp
Expand Up @@ -442,7 +442,7 @@ void QgsVectorLayerSaveAsDialog::mFormatComboBox_currentIndexChanged( int idx )
if ( !ext.isEmpty() )
{
QFileInfo fi( mFilename->filePath() );
mFilename->setFilePath( QStringLiteral( "%1/%2.%3" ).arg( fi.path() ).arg( fi.baseName() ).arg( ext ) );
mFilename->setFilePath( QStringLiteral( "%1/%2.%3" ).arg( fi.path(), fi.baseName(), ext ) );
}
}

Expand Down

0 comments on commit 256b802

Please sign in to comment.