diff options
author | Timothy Pearson <[email protected]> | 2014-09-30 10:16:08 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2014-09-30 10:16:08 -0500 |
commit | b87fcaba5364f33191401b8554fb98a2880807a8 (patch) | |
tree | de67cdfb7cf7ef2ccb06ade5368c37147ac96c11 /twin-styles | |
parent | 46617d1b58051938224ea197fdd4c34a39b4724c (diff) | |
download | tdeartwork-b87fcaba5364f33191401b8554fb98a2880807a8.tar.gz tdeartwork-b87fcaba5364f33191401b8554fb98a2880807a8.zip |
Fix FTFBS due to commit 54e82466
This resolves Bug 2134
Diffstat (limited to 'twin-styles')
-rw-r--r-- | twin-styles/riscos/Manager.cpp | 19 | ||||
-rw-r--r-- | twin-styles/smooth-blend/client/smoothblend.cc | 16 |
2 files changed, 0 insertions, 35 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)); } diff --git a/twin-styles/smooth-blend/client/smoothblend.cc b/twin-styles/smooth-blend/client/smoothblend.cc index dda1f1b0..2f342b06 100644 --- a/twin-styles/smooth-blend/client/smoothblend.cc +++ b/twin-styles/smooth-blend/client/smoothblend.cc @@ -1303,23 +1303,7 @@ void smoothblendClient::showEvent(TQShowEvent *) { void smoothblendClient::maxButtonPressed() { if (button[ButtonMax]) { -#if TDE_IS_VERSION(3, 3, 0) maximize(button[ButtonMax]->lastMousePress()); -#else - - switch (button[ButtonMax]->lastMousePress()) { - case MidButton: - maximize(maximizeMode() ^ MaximizeVertical); - break; - case RightButton: - maximize(maximizeMode() ^ MaximizeHorizontal); - break; - default: - (maximizeMode() == MaximizeFull) ? maximize(MaximizeRestore) - : maximize(MaximizeFull); - } -#endif - } } |