Skip to content

Commit

Permalink
Use the tooltip: virtual layer needs it
Browse files Browse the repository at this point in the history
... because the automatically generated one was:
"Add Virtual Layer layer"
  • Loading branch information
elpaso committed Sep 5, 2017
1 parent 08588a5 commit 59aaa27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/providers/virtual/qgsvirtuallayerprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,7 @@ class QgsVirtualSourceSelectProvider : public QgsSourceSelectProvider
virtual QString providerKey() const override { return QStringLiteral( "virtual" ); }
virtual QString text() const override { return QObject::tr( "Virtual Layer" ); }
virtual int ordering() const override { return 90; }
virtual QString toolTip() const override { return QObject::tr( "Add Virtual Layer" ); }
virtual QIcon icon() const override { return QgsApplication::getThemeIcon( QStringLiteral( "/mActionAddVirtualLayer.svg" ) ); }
virtual QgsAbstractDataSourceWidget *createDataSourceWidget( QWidget *parent = nullptr, Qt::WindowFlags fl = Qt::Widget, QgsProviderRegistry::WidgetMode widgetMode = QgsProviderRegistry::WidgetMode::Embedded ) const override
{
Expand Down

0 comments on commit 59aaa27

Please sign in to comment.