From c556c027c47921970b11f79aaa4429c2174b5c5b Mon Sep 17 00:00:00 2001 From: llornkcor Date: Mon, 06 May 2002 12:25:13 +0000 Subject: added config file setting for showing mic level Sound.conf [System] ShowMic = TRUE will get you in! --- diff --git a/core/applets/volumeapplet/volume.cpp b/core/applets/volumeapplet/volume.cpp index 344f86f..e393f0f 100644 --- a/core/applets/volumeapplet/volume.cpp +++ b/core/applets/volumeapplet/volume.cpp @@ -233,7 +233,8 @@ void VolumeApplet::showVolControl(bool showMic) cfg.setGroup("System"); volumePercent = cfg.readNumEntry("Volume",50); micPercent = cfg.readNumEntry("Mic", 50); - + QString show = cfg.readEntry("ShowMic", "FALSE"); + if(show == "TRUE") showMic = TRUE; // Create a small volume control window to adjust the volume with VolumeControl *vc = new VolumeControl(showMic); vc->slider->setValue( 100 - volumePercent ); -- cgit v0.9.0.2