summaryrefslogtreecommitdiffstats
path: root/src/devicewidget.cc
diff options
context:
space:
mode:
authorColin Guthrie <cguthrie@mandriva.org>2011-03-09 21:54:05 +0000
committerColin Guthrie <cguthrie@mandriva.org>2011-03-09 21:54:05 +0000
commitc70b048c98db9cc7869484ff9d6b1ed84b9dea91 (patch)
tree87e440293b8147b586e4b7b21541c271bc013916 /src/devicewidget.cc
parent297af52ae5581f5373bb008f60c7aac858bb365a (diff)
volume: Don't bother setting the steps.
The number of volume steps doesn't really affect our scale, so there is little value in setting it.
Diffstat (limited to 'src/devicewidget.cc')
-rw-r--r--src/devicewidget.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/devicewidget.cc b/src/devicewidget.cc
index b513ee8..bf09f12 100644
--- a/src/devicewidget.cc
+++ b/src/devicewidget.cc
@@ -139,12 +139,6 @@ void DeviceWidget::setBaseVolume(pa_volume_t v) {
channelWidgets[channelMap.channels-1]->setBaseVolume(v);
}
-void DeviceWidget::setSteps(unsigned n) {
-
- for (int i = 0; i < channelMap.channels; i++)
- channelWidgets[channelMap.channels-1]->setSteps(n);
-}
-
void DeviceWidget::prepareMenu() {
int idx = 0;
int active_idx = -1;