summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorJason Barron <jason.barron@nokia.com>2010-10-06 07:54:15 (GMT)
committerJason Barron <jason.barron@nokia.com>2010-10-06 08:00:30 (GMT)
commit97d436160c87876cdc272b3ce0bb09256d78405c (patch)
tree589b998fee2bac18618213fc6039878865eda303 /src/gui
parent6d3608d65f0b956915116d76f94a91eaa6aef350 (diff)
downloadQt-97d436160c87876cdc272b3ce0bb09256d78405c.zip
Qt-97d436160c87876cdc272b3ce0bb09256d78405c.tar.gz
Qt-97d436160c87876cdc272b3ce0bb09256d78405c.tar.bz2
Remove unused/incorrect TFX commands pertaining to layers on Symbian.
These commands have been renamed in the Symbian^4 code line, but since they are not currently used by the effects engine, we simply remove them for now to avoid causing build breakages on platforms that use the older version. Reviewed-by: Jani Hautakangas
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/kernel/qapplication_s60.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gui/kernel/qapplication_s60.cpp b/src/gui/kernel/qapplication_s60.cpp
index 1127c84..296f24f 100644
--- a/src/gui/kernel/qapplication_s60.cpp
+++ b/src/gui/kernel/qapplication_s60.cpp
@@ -152,18 +152,12 @@ void QS60Data::controlVisibilityChanged(CCoeControl *control, bool visible)
if (backingStore.data()) {
backingStore.registerWidget(widget);
} else {
-#ifdef SYMBIAN_GRAPHICS_WSERV_QT_EFFECTS
- S60->wsSession().SendEffectCommand(ETfxCmdRestoreLayer);
-#endif
backingStore.create(window);
backingStore.registerWidget(widget);
qt_widget_private(widget)->invalidateBuffer(widget->rect());
widget->repaint();
}
} else {
-#ifdef SYMBIAN_GRAPHICS_WSERV_QT_EFFECTS
- S60->wsSession().SendEffectCommand(ETfxCmdDeallocateLayer);
-#endif
backingStore.unregisterWidget(widget);
// In order to ensure that any resources used by the window surface
// are immediately freed, we flush the WSERV command buffer.