summaryrefslogtreecommitdiffstats
path: root/src/streamwidget.cc
diff options
context:
space:
mode:
authorColin Guthrie <cguthrie@mandriva.org>2009-10-17 15:59:29 +0100
committerColin Guthrie <cguthrie@mandriva.org>2009-10-17 15:59:29 +0100
commit78f51945418696073fe877f5f6f5faf19443b8a6 (patch)
tree5078b532e5607bd739dde4ca43ae551bb358bf77 /src/streamwidget.cc
parent68e34013506c031c8679b3302c326f8c98c5e1f1 (diff)
Allow for the sink input peak detect to survive across sink moves.
Diffstat (limited to 'src/streamwidget.cc')
-rw-r--r--src/streamwidget.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/streamwidget.cc b/src/streamwidget.cc
index 2ab5c12..12c7d6d 100644
--- a/src/streamwidget.cc
+++ b/src/streamwidget.cc
@@ -31,7 +31,8 @@
/*** StreamWidget ***/
StreamWidget::StreamWidget(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& x) :
MinimalStreamWidget(cobject, x),
- mpMainWindow(NULL) {
+ mpMainWindow(NULL),
+ peak(NULL) {
x->get_widget("lockToggleButton", lockToggleButton);
x->get_widget("muteToggleButton", muteToggleButton);