app: import QtWebEngineWidgets before constructing QApplication
commitfad60b8d7b810ac21f940ce7c368e9e966dd363c
authorDavid Aguilar <davvid@gmail.com>
Tue, 5 Nov 2019 23:04:09 +0000 (5 15:04 -0800)
committerDavid Aguilar <davvid@gmail.com>
Tue, 5 Nov 2019 23:04:09 +0000 (5 15:04 -0800)
tree3b170826fa6602cc16363281bec71ae52e50217c
parent42f4f342d0380257e0b17f97a04fd06b33af65a8
app: import QtWebEngineWidgets before constructing QApplication

Qt 5.12 / PyQt 5.13 requires that we import QtWebEngineWidgets before
constructing QApplication, otherwise an import error is thrown which
causes us to fallback to the external webbrowser when showing the
hotkeys page.

Import QtWebEngineWidgets early so that everything is initialized
properly.

Signed-off-by: David Aguilar <davvid@gmail.com>
cola/app.py