diff options
| author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2023-10-10 18:54:27 +0200 |
|---|---|---|
| committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2023-10-12 06:16:46 +0200 |
| commit | d70b873c3752ff5a4103702148f9fd2593815341 (patch) | |
| tree | d9b64ba90fa7d002997a4cbc2aa9e40d13e4bca8 /src/widgets/doc/snippets/code | |
| parent | 9a0ae6c13bb8ad6c883285fea6fe494b532fc5e5 (diff) | |
QSqlDatabase: check if QCoreApplication::instance() exists
Check if QCoreApplication::instance() and print a warning if not instead
creating and assertion later on.
Fixes: QTBUG-117621
Change-Id: Iffb4f7097edbbaf19cb584bff6e5ba1535bf88a0
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/widgets/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions
