[haiku-development] Further Cortex fix (was:Video Window patch)
- From: Maurice Kalinowski <haiku@xxxxxxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Sun, 02 Mar 2008 19:55:37 +0100
Hi,
I managed to find the error which kept Cortex from updating the
Transport Window when the selection changed.
Sometimes you just want to bang your head on the keyboard for not seeing
this earlier.
It fixes a typo (the function to overload uses uppercase S) and then the
correct overloaded version gets called instead of the base function,
which is empty.
Cheerio,
Maurice
diff -dur cortex/MediaRoutingView/MediaRoutingView.cpp
../../../haiku/src/apps/cortex/MediaRoutingView/MediaRoutingView.cpp
--- cortex/MediaRoutingView/MediaRoutingView.cpp 2008-03-02
19:49:26.000000000 +0100
+++ ../../../haiku/src/apps/cortex/MediaRoutingView/MediaRoutingView.cpp
2008-02-21 20:29:46.000000000 +0100
@@ -273,7 +273,7 @@
void
-MediaRoutingView::selectionChanged()
+MediaRoutingView::SelectionChanged()
{
D_METHOD(("MediaRoutingView::selectionChanged()\n"));
_broadcastSelection();
diff -dur cortex/MediaRoutingView/MediaRoutingView.h
../../../haiku/src/apps/cortex/MediaRoutingView/MediaRoutingView.h
--- cortex/MediaRoutingView/MediaRoutingView.h 2008-03-02 19:49:33.000000000
+0100
+++ ../../../haiku/src/apps/cortex/MediaRoutingView/MediaRoutingView.h
2008-02-21 20:29:46.000000000 +0100
@@ -181,7 +181,7 @@
BPoint point,
BMessage
*message);
- virtual void selectionChanged();
+ virtual void SelectionChanged();
public: // *** BView impl
- Follow-Ups:
- [haiku-development] Re: Further Cortex fix (was:Video Window patch)
- From: Axel Dörfler
- References:
- [haiku-development] Re: Video Window patch
- From: François Revol
Other related posts:
- » [haiku-development] Further Cortex fix (was:Video Window patch)
- » [haiku-development] Re: Further Cortex fix (was:Video Window patch)
- [haiku-development] Re: Further Cortex fix (was:Video Window patch)
- From: Axel Dörfler
- [haiku-development] Re: Video Window patch
- From: François Revol