[haiku-commits] Re: haiku: hrev43775 - src/bin/desklink

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 25 Feb 2012 23:54:25 +0100

On 02/23/2012 02:02 AM, stpere@xxxxxxxxx wrote:
--- a/src/bin/desklink/VolumeWindow.cpp
+++ b/src/bin/desklink/VolumeWindow.cpp
@@ -86,6 +86,10 @@ VolumeWindow::MessageReceived(BMessage *msg)
                        } else
                                Quit();
                        break;
+               
+               case B_QUIT_REQUESTED:
+                       Quit();
+                       break;

                default:
                        BWindow::MessageReceived(msg);

That last part of the change looks completely superfluous; sending a window B_QUIT_REQUESTED should just call BWindow::QuitRequested(), and if that returns 'true', it will close the window.
Please revert (unless I'm wrong for some reason, of course :-)).

Bye,
   Axel.

Other related posts: