diff options
author | Jason Barron <jbarron@trolltech.com> | 2009-04-29 09:30:13 (GMT) |
---|---|---|
committer | Jason Barron <jbarron@trolltech.com> | 2009-04-29 09:30:13 (GMT) |
commit | c714ecaf368c9285c2faffb4d1368f7fa79944dd (patch) | |
tree | 4bc6be727e3418d9e663614eb4de4e0e66142915 /src | |
parent | b9088019b62abc288d704800ed7d45df942a3cd6 (diff) | |
download | Qt-c714ecaf368c9285c2faffb4d1368f7fa79944dd.zip Qt-c714ecaf368c9285c2faffb4d1368f7fa79944dd.tar.gz Qt-c714ecaf368c9285c2faffb4d1368f7fa79944dd.tar.bz2 |
Undo implementation of setWindowOpacity_sys().
This function was implemented using API from Symbian that will be
deprecated. It was never actually suitable anyway since this function
cannot be called after the window has been shown and this needs to be a
runtime decision for Qt. The solution is to use
SetTransparencyAlphaChannel(), but that will come later.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/kernel/qwidget_s60.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/kernel/qwidget_s60.cpp b/src/gui/kernel/qwidget_s60.cpp index a477a09..8fe88d8 100644 --- a/src/gui/kernel/qwidget_s60.cpp +++ b/src/gui/kernel/qwidget_s60.cpp @@ -606,11 +606,9 @@ void QWidgetPrivate::scroll_sys(int dx, int dy, const QRect &r) TRANSPARENCY To a line in the wsini.ini file. */ -void QWidgetPrivate::setWindowOpacity_sys(qreal level) +void QWidgetPrivate::setWindowOpacity_sys(qreal) { - RWindow* rw = static_cast<RWindow*>(topData()->rwindow); - if (rw) - rw->SetTransparencyFactor(TRgb::Gray256(255.0 * level)); + // ### TODO: Implement uniform window transparency } void QWidgetPrivate::updateFrameStrut() |