Skip to content

Commit 740f58b

Browse files
committedOct 16, 2017
Remove broken and unused code
1 parent 5bf300d commit 740f58b

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed
 

‎python/plugins/db_manager/dlg_export_vector.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,3 @@ def accept(self):
199199

200200
QMessageBox.information(self, self.tr("Export to file"), self.tr("Export finished."))
201201
return QDialog.accept(self)
202-
203-
204-
if __name__ == '__main__':
205-
import sys
206-
207-
a = QApplication(sys.argv)
208-
dlg = DlgExportVector()
209-
dlg.show()
210-
sys.exit(a.exec_())

‎python/plugins/db_manager/dlg_import_vector.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -391,12 +391,3 @@ def closeEvent(self, event):
391391
# from this dialog!
392392
self.deleteInputLayer()
393393
QDialog.closeEvent(self, event)
394-
395-
396-
if __name__ == '__main__':
397-
import sys
398-
399-
a = QApplication(sys.argv)
400-
dlg = DlgImportVector()
401-
dlg.show()
402-
sys.exit(a.exec_())

0 commit comments

Comments
 (0)
Please sign in to comment.