Skip to content

Commit d0c14ef

Browse files
committedMay 16, 2018
[dbmanager] Fix bad import in vlayers plugin
1 parent 79fc5b9 commit d0c14ef

File tree

1 file changed

+2
-1
lines changed
  • python/plugins/db_manager/db_plugins/vlayers

1 file changed

+2
-1
lines changed
 

‎python/plugins/db_manager/db_plugins/vlayers/plugin.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@
2222
# this will disable the dbplugin if the connector raise an ImportError
2323
from .connector import VLayerConnector
2424

25+
from qgis.PyQt.QtCore import QCoreApplication
2526
from qgis.PyQt.QtGui import QIcon
26-
from qgis.core import QgsVectorLayer, QgsProject, QgsVirtualLayerDefinition, QCoreApplication
27+
from qgis.core import QgsVectorLayer, QgsProject, QgsVirtualLayerDefinition
2728

2829
from ..plugin import DBPlugin, Database, Table, VectorTable, TableField
2930

0 commit comments

Comments
 (0)
Please sign in to comment.