Skip to content

Commit

Permalink
Rename QgisGui to QgsGuiUtils
Browse files Browse the repository at this point in the history
Better reflects what this namespace contains, and replaces the
non-standard Qgis prefix with the Qgs standard
  • Loading branch information
nyalldawson committed May 14, 2017
1 parent 436844b commit ac94345
Show file tree
Hide file tree
Showing 108 changed files with 203 additions and 203 deletions.
2 changes: 1 addition & 1 deletion cmake/FindQGIS.cmake
Expand Up @@ -142,7 +142,7 @@ ELSE(WIN32)
# also get other frameworks' headers folders on OS X
IF (APPLE)
FIND_PATH(QGIS_GUI_INCLUDE_DIR
NAMES qgisgui.h
NAMES qgsguiutils.h
PATHS
${QGIS_BUILD_PATH}/output/lib
${QGIS_MAC_PATH}/Frameworks
Expand Down
1 change: 1 addition & 0 deletions doc/api_break.dox
Expand Up @@ -63,6 +63,7 @@ Renamed Classes {#qgis_api_break_3_0_renamed_classes}
<table>
<caption id="renamed_classes">Renamed classes</caption>
<tr><th>API 2.x<th>API 3.X
<tr><td>QgisGui<td>QgsGuiUtils
<tr><td>QgsAttributeAction<td>QgsActionManager
<tr><td>QgsAbstractGeometryV2<td>QgsAbstractGeometry
<tr><td>QgsCategorizedSymbolRendererV2<td>QgsCategorizedSymbolRenderer
Expand Down
2 changes: 1 addition & 1 deletion python/gui/qgsbusyindicatordialog.sip
Expand Up @@ -15,7 +15,7 @@ class QgsBusyIndicatorDialog : QDialog
* @param parent parent object (owner)
* @param fl widget flags
*/
QgsBusyIndicatorDialog( const QString &message = "", QWidget *parent /TransferThis/ = 0, const Qt::WindowFlags &fl = QgisGui::ModalDialogFlags );
QgsBusyIndicatorDialog( const QString &message = "", QWidget *parent /TransferThis/ = 0, const Qt::WindowFlags &fl = QgsGuiUtils::ModalDialogFlags );
~QgsBusyIndicatorDialog();

QString message() const;
Expand Down
2 changes: 1 addition & 1 deletion python/gui/qgscharacterselectdialog.sip
Expand Up @@ -4,7 +4,7 @@ class QgsCharacterSelectorDialog : QDialog
#include <qgscharacterselectdialog.h>
%End
public:
QgsCharacterSelectorDialog( QWidget *parent /TransferThis/ = 0, const Qt::WindowFlags &fl = QgisGui::ModalDialogFlags );
QgsCharacterSelectorDialog( QWidget *parent /TransferThis/ = 0, const Qt::WindowFlags &fl = QgsGuiUtils::ModalDialogFlags );
~QgsCharacterSelectorDialog();

public slots:
Expand Down
2 changes: 1 addition & 1 deletion python/gui/qgscolordialog.sip
Expand Up @@ -23,7 +23,7 @@ class QgsColorDialog : QDialog
%End
public:

QgsColorDialog( QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags,
QgsColorDialog( QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags,
const QColor &color = QColor() );
%Docstring
Create a new color picker dialog
Expand Down
2 changes: 1 addition & 1 deletion python/gui/qgscredentialdialog.sip
Expand Up @@ -20,7 +20,7 @@ class QgsCredentialDialog : QDialog, QgsCredentials
#include "qgscredentialdialog.h"
%End
public:
QgsCredentialDialog( QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
QgsCredentialDialog( QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
%Docstring
QgsCredentialDialog constructor
%End
Expand Down
2 changes: 1 addition & 1 deletion python/gui/qgsdialog.sip
Expand Up @@ -21,7 +21,7 @@ class QgsDialog : QDialog
%End
public:

QgsDialog( QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags,
QgsDialog( QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags,
QDialogButtonBox::StandardButtons buttons = QDialogButtonBox::Close,
Qt::Orientation orientation = Qt::Horizontal );
%Docstring
Expand Down
4 changes: 2 additions & 2 deletions python/gui/qgserrordialog.sip
Expand Up @@ -17,12 +17,12 @@ class QgsErrorDialog: QDialog
%End
public:

QgsErrorDialog( const QgsError &error, const QString &title, QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
QgsErrorDialog( const QgsError &error, const QString &title, QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
%Docstring
QgsErrorDialog constructor for QgsErrorDialog
%End

static void show( const QgsError &error, const QString &title, QWidget *parent = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
static void show( const QgsError &error, const QString &title, QWidget *parent = 0, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
%Docstring
Show dialog with error
\param error error
Expand Down
2 changes: 1 addition & 1 deletion python/gui/qgsgroupwmsdatadialog.sip
Expand Up @@ -15,7 +15,7 @@ class QgsGroupWmsDataDialog: QDialog
#include "qgsgroupwmsdatadialog.h"
%End
public:
QgsGroupWmsDataDialog( QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
QgsGroupWmsDataDialog( QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
%Docstring
Constructor
%End
Expand Down
2 changes: 1 addition & 1 deletion python/gui/qgsludialog.sip
Expand Up @@ -5,7 +5,7 @@ class QgsLUDialog: QDialog
%End

public:
QgsLUDialog( QWidget *parent /TransferThis/ = 0, const Qt::WindowFlags &fl = QgisGui::ModalDialogFlags );
QgsLUDialog( QWidget *parent /TransferThis/ = 0, const Qt::WindowFlags &fl = QgsGuiUtils::ModalDialogFlags );
~QgsLUDialog();
QString lowerValue() const;
void setLowerValue( const QString &val );
Expand Down
2 changes: 1 addition & 1 deletion python/gui/qgsmessagelogviewer.sip
Expand Up @@ -21,7 +21,7 @@ class QgsMessageLogViewer: QDialog
%End
public:

QgsMessageLogViewer( QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
QgsMessageLogViewer( QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
%Docstring
Create a new message log viewer. The viewer will automatically connect to the system's
QgsApplication.messageLog() instance.
Expand Down
2 changes: 1 addition & 1 deletion python/gui/qgsmessageviewer.sip
Expand Up @@ -6,7 +6,7 @@ class QgsMessageViewer: QDialog, QgsMessageOutput //, Ui::QgsMessageViewer
%End

public:
QgsMessageViewer( QWidget *parent /TransferThis/ = 0, const Qt::WindowFlags &fl = QgisGui::ModalDialogFlags );
QgsMessageViewer( QWidget *parent /TransferThis/ = 0, const Qt::WindowFlags &fl = QgsGuiUtils::ModalDialogFlags );
~QgsMessageViewer();

virtual void setMessage( const QString &message, MessageType msgType );
Expand Down
2 changes: 1 addition & 1 deletion python/gui/qgsnewgeopackagelayerdialog.sip
Expand Up @@ -7,7 +7,7 @@ class QgsNewGeoPackageLayerDialog : QDialog

public:
/** Constructor */
QgsNewGeoPackageLayerDialog( QWidget *parent /TransferThis/ = 0, const Qt::WindowFlags &fl = QgisGui::ModalDialogFlags );
QgsNewGeoPackageLayerDialog( QWidget *parent /TransferThis/ = 0, const Qt::WindowFlags &fl = QgsGuiUtils::ModalDialogFlags );

~QgsNewGeoPackageLayerDialog();

Expand Down
2 changes: 1 addition & 1 deletion python/gui/qgsnewhttpconnection.sip
Expand Up @@ -6,7 +6,7 @@ class QgsNewHttpConnection : QDialog

public:
//! Constructor
QgsNewHttpConnection( QWidget *parent /TransferThis/ = 0, const QString &baseKey = "/Qgis/connections-wms/", const QString &connName = QString::null, const Qt::WindowFlags &fl = QgisGui::ModalDialogFlags );
QgsNewHttpConnection( QWidget *parent /TransferThis/ = 0, const QString &baseKey = "/Qgis/connections-wms/", const QString &connName = QString::null, const Qt::WindowFlags &fl = QgsGuiUtils::ModalDialogFlags );
//! Destructor
~QgsNewHttpConnection();
public slots:
Expand Down
2 changes: 1 addition & 1 deletion python/gui/qgsnewmemorylayerdialog.sip
Expand Up @@ -26,7 +26,7 @@ class QgsNewMemoryLayerDialog: QDialog
:rtype: QgsVectorLayer
%End

QgsNewMemoryLayerDialog( QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
QgsNewMemoryLayerDialog( QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
~QgsNewMemoryLayerDialog();

QgsWkbTypes::Type selectedType() const;
Expand Down
2 changes: 1 addition & 1 deletion python/gui/qgsnewnamedialog.sip
Expand Up @@ -23,7 +23,7 @@ class QgsNewNameDialog : QgsDialog
QgsNewNameDialog( const QString& source = QString::null, const QString& initial = QString::null,
const QStringList& extensions = QStringList(), const QStringList& existing = QStringList(),
const QRegExp& regexp = QRegExp(), Qt::CaseSensitivity cs = Qt::CaseSensitive,
QWidget *parent /TransferThis/ = 0, const Qt::WindowFlags &flags = QgisGui::ModalDialogFlags );
QWidget *parent /TransferThis/ = 0, const Qt::WindowFlags &flags = QgsGuiUtils::ModalDialogFlags );

/** Sets the hint string for the dialog (the text shown above the name
* input box).
Expand Down
2 changes: 1 addition & 1 deletion python/gui/qgsnewvectorlayerdialog.sip
Expand Up @@ -10,7 +10,7 @@ class QgsNewVectorLayerDialog : QDialog
// @return fileName on success, empty string use aborted, QString::null if creation failed
static QString runAndCreateLayer( QWidget *parent = 0, QString *enc = 0 );

QgsNewVectorLayerDialog( QWidget *parent /TransferThis/ = 0, const Qt::WindowFlags &fl = QgisGui::ModalDialogFlags );
QgsNewVectorLayerDialog( QWidget *parent /TransferThis/ = 0, const Qt::WindowFlags &fl = QgsGuiUtils::ModalDialogFlags );
~QgsNewVectorLayerDialog();
/** Returns the selected geometry type*/
QgsWkbTypes::Type selectedType() const;
Expand Down
2 changes: 1 addition & 1 deletion python/gui/qgsowssourceselect.sip
Expand Up @@ -23,7 +23,7 @@ class QgsOWSSourceSelect : QDialog
};

//! Constructor
QgsOWSSourceSelect( const QString &service, QWidget *parent /TransferThis/ = 0, const Qt::WindowFlags &fl = QgisGui::ModalDialogFlags, bool managerMode = false, bool embeddedMode = false );
QgsOWSSourceSelect( const QString &service, QWidget *parent /TransferThis/ = 0, const Qt::WindowFlags &fl = QgsGuiUtils::ModalDialogFlags, bool managerMode = false, bool embeddedMode = false );
//! Destructor
~QgsOWSSourceSelect();

Expand Down
2 changes: 1 addition & 1 deletion python/gui/qgsprojectionselectiondialog.sip
Expand Up @@ -9,7 +9,7 @@ class QgsProjectionSelectionDialog : QDialog //, private Ui::QgsGenericProjectio
* Constructor
*/
QgsProjectionSelectionDialog( QWidget *parent /TransferThis/ = 0,
const Qt::WindowFlags &fl = QgisGui::ModalDialogFlags );
const Qt::WindowFlags &fl = QgsGuiUtils::ModalDialogFlags );

//! Destructor
~QgsProjectionSelectionDialog();
Expand Down
2 changes: 1 addition & 1 deletion python/gui/qgsquerybuilder.sip
Expand Up @@ -12,7 +12,7 @@ class QgsQueryBuilder : QDialog
* @param fl dialog flags
*/
QgsQueryBuilder( QgsVectorLayer *layer, QWidget *parent /TransferThis/ = 0,
const Qt::WindowFlags &fl = QgisGui::ModalDialogFlags );
const Qt::WindowFlags &fl = QgsGuiUtils::ModalDialogFlags );

~QgsQueryBuilder();

Expand Down
2 changes: 1 addition & 1 deletion python/gui/qgssearchquerybuilder.sip
Expand Up @@ -12,7 +12,7 @@ class QgsSearchQueryBuilder : QDialog
public:
//! Constructor - takes pointer to vector layer as a parameter
QgsSearchQueryBuilder( QgsVectorLayer* layer, QWidget *parent /TransferThis/ = 0,
const Qt::WindowFlags &fl = QgisGui::ModalDialogFlags );
const Qt::WindowFlags &fl = QgsGuiUtils::ModalDialogFlags );

~QgsSearchQueryBuilder();

Expand Down
2 changes: 1 addition & 1 deletion python/gui/qgstextformatwidget.sip
Expand Up @@ -111,7 +111,7 @@ class QgsTextFormatDialog : QDialog
* @param parent parent widget
* @param fl window flags for dialog
*/
QgsTextFormatDialog( const QgsTextFormat &format, QgsMapCanvas *mapCanvas = 0, QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
QgsTextFormatDialog( const QgsTextFormat &format, QgsMapCanvas *mapCanvas = 0, QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );

virtual ~QgsTextFormatDialog();

Expand Down
2 changes: 1 addition & 1 deletion python/gui/symbology-ng/qgssvgselectorwidget.sip
Expand Up @@ -51,7 +51,7 @@ class QgsSvgSelectorDialog : QDialog
#include <qgssvgselectorwidget.h>
%End
public:
QgsSvgSelectorDialog( QWidget* parent /TransferThis/ = 0, const Qt::WindowFlags& fl = QgisGui::ModalDialogFlags,
QgsSvgSelectorDialog( QWidget* parent /TransferThis/ = 0, const Qt::WindowFlags& fl = QgsGuiUtils::ModalDialogFlags,
QDialogButtonBox::StandardButtons buttons = QDialogButtonBox::Close | QDialogButtonBox::Ok,
Qt::Orientation orientation = Qt::Horizontal );
~QgsSvgSelectorDialog();
Expand Down
4 changes: 2 additions & 2 deletions src/app/composer/qgscomposer.cpp
Expand Up @@ -1987,7 +1987,7 @@ void QgsComposer::exportCompositionAsImage( QgsComposer::OutputMode mode )
mQgis->activateWindow();
this->raise();
#endif
QPair<QString, QString> fileNExt = QgisGui::getSaveAsImageName( this, tr( "Save composition as" ), outputFileName );
QPair<QString, QString> fileNExt = QgsGuiUtils::getSaveAsImageName( this, tr( "Save composition as" ), outputFileName );
this->activateWindow();

if ( fileNExt.first.isEmpty() )
Expand Down Expand Up @@ -3469,7 +3469,7 @@ void QgsComposer::showAdvancedEffectsWarning()
{
if ( ! mComposition->printAsRaster() )
{
QgsMessageViewer *m = new QgsMessageViewer( this, QgisGui::ModalDialogFlags, false );
QgsMessageViewer *m = new QgsMessageViewer( this, QgsGuiUtils::ModalDialogFlags, false );
m->setWindowTitle( tr( "Project contains composition effects" ) );
m->setMessage( tr( "Advanced composition effects such as blend modes or vector layer transparency are enabled in this project, which cannot be printed as vectors. Printing as a raster is recommended." ), QgsMessageOutput::MessageText );
m->setCheckBoxText( tr( "Print as raster" ) );
Expand Down
6 changes: 3 additions & 3 deletions src/app/composer/qgscomposerattributetablewidget.cpp
Expand Up @@ -29,7 +29,7 @@
#include "qgsexpressionbuilderdialog.h"
#include "qgsproject.h"
#include "qgsrelationmanager.h"
#include "qgisgui.h"
#include "qgsguiutils.h"
#include "qgscomposertablebackgroundcolorsdialog.h"

QgsComposerAttributeTableWidget::QgsComposerAttributeTableWidget( QgsComposerAttributeTableV2 *table, QgsComposerFrame *frame )
Expand Down Expand Up @@ -244,7 +244,7 @@ void QgsComposerAttributeTableWidget::on_mHeaderFontPushButton_clicked()
return;

bool ok;
QFont newFont = QgisGui::getFont( ok, mComposerTable->headerFont(), tr( "Select Font" ) );
QFont newFont = QgsGuiUtils::getFont( ok, mComposerTable->headerFont(), tr( "Select Font" ) );
if ( ok )
{
QgsComposition *composition = mComposerTable->composition();
Expand Down Expand Up @@ -285,7 +285,7 @@ void QgsComposerAttributeTableWidget::on_mContentFontPushButton_clicked()
}

bool ok;
QFont newFont = QgisGui::getFont( ok, mComposerTable->contentFont(), tr( "Select Font" ) );
QFont newFont = QgsGuiUtils::getFont( ok, mComposerTable->contentFont(), tr( "Select Font" ) );
if ( ok )
{
QgsComposition *composition = mComposerTable->composition();
Expand Down
4 changes: 2 additions & 2 deletions src/app/composer/qgscomposerlabelwidget.cpp
Expand Up @@ -20,7 +20,7 @@
#include "qgscomposeritemwidget.h"
#include "qgscomposition.h"
#include "qgsexpressionbuilderdialog.h"
#include "qgisgui.h"
#include "qgsguiutils.h"

#include <QColorDialog>
#include <QFontDialog>
Expand Down Expand Up @@ -85,7 +85,7 @@ void QgsComposerLabelWidget::on_mFontButton_clicked()
if ( mComposerLabel )
{
bool ok;
QFont newFont = QgisGui::getFont( ok, mComposerLabel->font() );
QFont newFont = QgsGuiUtils::getFont( ok, mComposerLabel->font() );
if ( ok )
{
mComposerLabel->beginCommand( tr( "Label font changed" ) );
Expand Down
10 changes: 5 additions & 5 deletions src/app/composer/qgscomposerlegendwidget.cpp
Expand Up @@ -21,7 +21,7 @@
#include "qgscomposeritemwidget.h"
#include "qgscomposermap.h"
#include "qgscomposition.h"
#include "qgisgui.h"
#include "qgsguiutils.h"

#include "qgisapp.h"
#include "qgsapplication.h"
Expand Down Expand Up @@ -357,7 +357,7 @@ void QgsComposerLegendWidget::on_mTitleFontButton_clicked()
if ( mLegend )
{
bool ok;
QFont newFont = QgisGui::getFont( ok, mLegend->style( QgsLegendStyle::Title ).font() );
QFont newFont = QgsGuiUtils::getFont( ok, mLegend->style( QgsLegendStyle::Title ).font() );
if ( ok )
{
mLegend->beginCommand( tr( "Title font changed" ) );
Expand All @@ -374,7 +374,7 @@ void QgsComposerLegendWidget::on_mGroupFontButton_clicked()
if ( mLegend )
{
bool ok;
QFont newFont = QgisGui::getFont( ok, mLegend->style( QgsLegendStyle::Group ).font() );
QFont newFont = QgsGuiUtils::getFont( ok, mLegend->style( QgsLegendStyle::Group ).font() );
if ( ok )
{
mLegend->beginCommand( tr( "Legend group font changed" ) );
Expand All @@ -391,7 +391,7 @@ void QgsComposerLegendWidget::on_mLayerFontButton_clicked()
if ( mLegend )
{
bool ok;
QFont newFont = QgisGui::getFont( ok, mLegend->style( QgsLegendStyle::Subgroup ).font() );
QFont newFont = QgsGuiUtils::getFont( ok, mLegend->style( QgsLegendStyle::Subgroup ).font() );
if ( ok )
{
mLegend->beginCommand( tr( "Legend layer font changed" ) );
Expand All @@ -408,7 +408,7 @@ void QgsComposerLegendWidget::on_mItemFontButton_clicked()
if ( mLegend )
{
bool ok;
QFont newFont = QgisGui::getFont( ok, mLegend->style( QgsLegendStyle::SymbolLabel ).font() );
QFont newFont = QgsGuiUtils::getFont( ok, mLegend->style( QgsLegendStyle::SymbolLabel ).font() );
if ( ok )
{
mLegend->beginCommand( tr( "Legend item font changed" ) );
Expand Down
2 changes: 1 addition & 1 deletion src/app/composer/qgscomposermapgridwidget.cpp
Expand Up @@ -1166,7 +1166,7 @@ void QgsComposerMapGridWidget::on_mAnnotationFontButton_clicked()
}

bool ok;
QFont newFont = QgisGui::getFont( ok, mComposerMapGrid->annotationFont() );
QFont newFont = QgsGuiUtils::getFont( ok, mComposerMapGrid->annotationFont() );
if ( ok )
{
mComposerMap->beginCommand( tr( "Annotation font changed" ) );
Expand Down
2 changes: 1 addition & 1 deletion src/app/composer/qgscomposermapwidget.cpp
Expand Up @@ -36,7 +36,7 @@
#include "qgsproject.h"
#include "qgsmapthemecollection.h"
#include "qgsmapthemes.h"
#include "qgisgui.h"
#include "qgsguiutils.h"
#include "qgscsexception.h"

#include <QMessageBox>
Expand Down
4 changes: 2 additions & 2 deletions src/app/composer/qgscomposerscalebarwidget.cpp
Expand Up @@ -19,7 +19,7 @@
#include "qgscomposermap.h"
#include "qgscomposerscalebar.h"
#include "qgscomposition.h"
#include "qgisgui.h"
#include "qgsguiutils.h"
#include <QColorDialog>
#include <QFontDialog>
#include <QWidget>
Expand Down Expand Up @@ -250,7 +250,7 @@ void QgsComposerScaleBarWidget::on_mFontButton_clicked()
}

bool dialogAccepted;
QFont newFont = QgisGui::getFont( dialogAccepted, mComposerScaleBar->font() );
QFont newFont = QgsGuiUtils::getFont( dialogAccepted, mComposerScaleBar->font() );
if ( dialogAccepted )
{
mComposerScaleBar->beginCommand( tr( "Scalebar font changed" ) );
Expand Down
4 changes: 2 additions & 2 deletions src/app/ogr/qgsnewogrconnection.h
Expand Up @@ -18,7 +18,7 @@
#ifndef QGSNEWOGRCONNECTION_H
#define QGSNEWOGRCONNECTION_H
#include "ui_qgsnewogrconnectionbase.h"
#include "qgisgui.h"
#include "qgsguiutils.h"
#include "qgscontexthelp.h"

/** \class QgsNewOgrConnection
Expand All @@ -31,7 +31,7 @@ class QgsNewOgrConnection : public QDialog, private Ui::QgsNewOgrConnectionBase

public:
//! Constructor
QgsNewOgrConnection( QWidget *parent = nullptr, const QString &connType = QString::null, const QString &connName = QString::null, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
QgsNewOgrConnection( QWidget *parent = nullptr, const QString &connType = QString::null, const QString &connName = QString::null, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );

~QgsNewOgrConnection();
//! Tests the connection using the parameters supplied
Expand Down
2 changes: 1 addition & 1 deletion src/app/ogr/qgsopenvectorlayerdialog.cpp
Expand Up @@ -104,7 +104,7 @@ QStringList QgsOpenVectorLayerDialog::openFile()
QgsDebugMsg( "Vector file filters: " + mVectorFileFilter );
QString enc = encoding();
QString title = tr( "Open an OGR Supported Vector Layer" );
QgisGui::openFilesRememberingFilter( QStringLiteral( "lastVectorFileFilter" ), mVectorFileFilter, selectedFiles, enc, title );
QgsGuiUtils::openFilesRememberingFilter( QStringLiteral( "lastVectorFileFilter" ), mVectorFileFilter, selectedFiles, enc, title );

return selectedFiles;
}
Expand Down

0 comments on commit ac94345

Please sign in to comment.