diff options
author | Jani Hautakangas <ext-jani.hautakangas@nokia.com> | 2010-01-22 12:00:11 (GMT) |
---|---|---|
committer | Jani Hautakangas <ext-jani.hautakangas@nokia.com> | 2010-01-22 12:00:11 (GMT) |
commit | 8e87feefc0a92fbbeb1846f2471cdded9ef901ff (patch) | |
tree | 75bded8a8d3c2288739451d65a843899a7ff18dd /src/gui/dialogs | |
parent | b22b06debf9d7e964244a0a613354be0ea9e07b7 (diff) | |
download | Qt-8e87feefc0a92fbbeb1846f2471cdded9ef901ff.zip Qt-8e87feefc0a92fbbeb1846f2471cdded9ef901ff.tar.gz Qt-8e87feefc0a92fbbeb1846f2471cdded9ef901ff.tar.bz2 |
Move avkon component transparency check to app initialization.
Reviewed-by: Sami Merila
Diffstat (limited to 'src/gui/dialogs')
-rw-r--r-- | src/gui/dialogs/qdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/dialogs/qdialog.cpp b/src/gui/dialogs/qdialog.cpp index 9e11ebf..9ff2ad8 100644 --- a/src/gui/dialogs/qdialog.cpp +++ b/src/gui/dialogs/qdialog.cpp @@ -267,7 +267,7 @@ QDialog::QDialog(QWidget *parent, Qt::WindowFlags f) #endif #ifdef Q_WS_S60 - if (S60->avkonComponentsSupportTransparency()) { + if (S60->avkonComponentsSupportTransparency) { bool noSystemBackground = testAttribute(Qt::WA_NoSystemBackground); setAttribute(Qt::WA_TranslucentBackground); // also sets WA_NoSystemBackground setAttribute(Qt::WA_NoSystemBackground, noSystemBackground); // restore system background attribute @@ -304,7 +304,7 @@ QDialog::QDialog(QDialogPrivate &dd, QWidget *parent, Qt::WindowFlags f) #endif #ifdef Q_WS_S60 - if (S60->avkonComponentsSupportTransparency()) { + if (S60->avkonComponentsSupportTransparency) { bool noSystemBackground = testAttribute(Qt::WA_NoSystemBackground); setAttribute(Qt::WA_TranslucentBackground); // also sets WA_NoSystemBackground setAttribute(Qt::WA_NoSystemBackground, noSystemBackground); // restore system background attribute |