Skip to content

Commit 9a752b9

Browse files
committed
exec() works in PyQt5
1 parent 23cef9f commit 9a752b9

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

python/qsci_apis/generate_console_pap.py.in

+1-5
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,4 @@ if __name__ == '__main__':
9292
prepap = PrepareAPIs(api_lexer, api_files, pap_file)
9393
prepap.prepareAPI()
9494

95-
# TODO QGIS 4.0: remove
96-
if (@QT_VERSION_MAJOR@ < 6):
97-
sys.exit(app.exec_())
98-
else:
99-
sys.exit(app.exec())
95+
sys.exit(app.exec())

0 commit comments

Comments
 (0)