Skip to content

Commit

Permalink
maximize window correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
kamikaze committed Nov 1, 2022
1 parent 3099bfb commit 50d9772
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/dataset_image_annotator/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,6 @@ def main():
app = QApplication(sys.argv)
mainwindow = MainWindow(data_root_path)

center = QScreen.availableGeometry(QApplication.primaryScreen()).center()
geo = mainwindow.window.frameGeometry()
geo.moveCenter(center)
mainwindow.window.move(geo.topLeft())

sys.exit(app.exec())


Expand Down

0 comments on commit 50d9772

Please sign in to comment.