summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-09-28 05:54:30 (UTC)
committer llornkcor <llornkcor>2004-09-28 05:54:30 (UTC)
commitc6daaf1849427191cb449e742681629bdaee4570 (patch) (unidiff)
tree4864b281a4de726de8eeaff9d13c84b1426fb5ba
parent9c8f2e26e05be9230ed960d4b4ed21dc658df33e (diff)
downloadopie-c6daaf1849427191cb449e742681629bdaee4570.zip
opie-c6daaf1849427191cb449e742681629bdaee4570.tar.gz
opie-c6daaf1849427191cb449e742681629bdaee4570.tar.bz2
treble and bass sliders not being hidden on system that dont have those devices
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/volumeapplet/volume.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/applets/volumeapplet/volume.cpp b/core/applets/volumeapplet/volume.cpp
index 276f47f..6a14d07 100644
--- a/core/applets/volumeapplet/volume.cpp
+++ b/core/applets/volumeapplet/volume.cpp
@@ -251,3 +251,3 @@ VolumeControl::VolumeControl ( VolumeApplet *icon, bool /*showMic*/, QWidget *pa
251 251
252 if ( !ODevice::inst ( )-> series ( ) == Model_iPAQ ) { 252 if ( !ODevice::inst()->modelString().contains( "Model_iPAQ" )) {
253 has_bass = false; 253 has_bass = false;
@@ -256,3 +256,2 @@ VolumeControl::VolumeControl ( VolumeApplet *icon, bool /*showMic*/, QWidget *pa
256 256
257
258 setFrameStyle ( QFrame::PopupPanel | QFrame::Raised ); 257 setFrameStyle ( QFrame::PopupPanel | QFrame::Raised );