diff options
author | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2021-03-09 10:56:03 +0200 |
---|---|---|
committer | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2021-03-10 06:57:00 +0000 |
commit | c78d7f84cd1ecf2130de16b2b06acf390fad5d06 (patch) | |
tree | e976e7a1b4bedb35b6eb37e4a9f3e709666e8396 /examples/online | |
parent | 6fdadf83710c37f70c1d2d621eacb9cbb327b23b (diff) |
Fix styling of QMessageBoxes
MessageBoxHandler will decide an appropriate parent widget for new
QMessageBox objects just before they are shown. This is not quaranteed
to be a PackageManagerGui instance, for example when the installer
wizard does not have focus, which means the style properties do not
get inherited.
Rather set the used style sheet for the whole application using
QApplication::setStyleSheet().
Task-number: QTIFW-2121
Change-Id: I6f2131279d6f6d3dd41b9eacab8404770aad09a3
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'examples/online')
0 files changed, 0 insertions, 0 deletions