Skip to content

Commit

Permalink
Merge pull request AppliedBioinformatics#3 from DanielFaulkner/qt5-fixes
Browse files Browse the repository at this point in the history
Fixes to make App file compatible with Qt5
  • Loading branch information
DanielFaulkner authored Oct 28, 2020
2 parents 94a4cf9 + be79311 commit 57c6e97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/App.py
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ def analyse(self):
self.ui.gridLayout_7.itemAt(items).widget().deleteLater()
except:
pass
mapping_status_view=QtGui.QGraphicsView(self.ui.mapping_status_frame)
mapping_status_view=QtWidgets.QGraphicsView(self.ui.mapping_status_frame)
self.ui.gridLayout_7.addWidget(mapping_status_view, 0, 0, 1, 1)
try:
## Start analysis
Expand Down Expand Up @@ -683,7 +683,7 @@ def analyse(self):
self.ui.gridLayout_7.itemAt(items).widget().setParent(None)
except:
pass
mapping_status_view=QtGui.QGraphicsView(self.ui.mapping_status_frame)
mapping_status_view=QtWidgets.QGraphicsView(self.ui.mapping_status_frame)
self.ui.gridLayout_7.addWidget(mapping_status_view, 0, 0, 1, 1)
try:
## Start analysis
Expand Down

0 comments on commit 57c6e97

Please sign in to comment.