summaryrefslogtreecommitdiffstats
path: root/twin-styles/riscos/Manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'twin-styles/riscos/Manager.cpp')
-rw-r--r--twin-styles/riscos/Manager.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/twin-styles/riscos/Manager.cpp b/twin-styles/riscos/Manager.cpp
index 635d0f28..770d5092 100644
--- a/twin-styles/riscos/Manager.cpp
+++ b/twin-styles/riscos/Manager.cpp
@@ -390,26 +390,7 @@ void Manager::slotLower()
void Manager::slotMaximizeClicked(ButtonState state)
{
-#if TDE_IS_VERSION(3, 3, 0)
maximize(state);
-#else
- switch (state)
- {
- case RightButton:
- maximize(maximizeMode() ^ MaximizeHorizontal);
- break;
-
- case MidButton:
- maximize(maximizeMode() ^ MaximizeVertical);
- break;
-
- case LeftButton:
- default:
- maximize(maximizeMode() == MaximizeFull ? MaximizeRestore
- : MaximizeFull);
- break;
- }
-#endif
emit(maximizeChanged(maximizeMode() == MaximizeFull));
}