Skip to content
Permalink
Browse files

Use the tooltip: virtual layer needs it

... because the automatically generated one was:
"Add Virtual Layer layer"
  • Loading branch information
elpaso committed Sep 5, 2017
1 parent 08588a5 commit 59aaa2780e8326f0cf425f70805a9b06ec9b3c5c
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/providers/virtual/qgsvirtuallayerprovider.cpp
@@ -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
{

0 comments on commit 59aaa27

Please sign in to comment.
You can’t perform that action at this time.