diff options
| author | 2010-06-10 12:51:38 +0000 | |
|---|---|---|
| committer | 2010-06-10 12:51:38 +0000 | |
| commit | 64ddb924d7bb58ddfb42bfe7930156a5a9143513 (patch) | |
| tree | c7637a52c6df59e081a93485e05e982538d81fba /src/modules/dcc/voice.cpp | |
| parent | More fixes in classeditor (diff) | |
| download | KVIrc-64ddb924d7bb58ddfb42bfe7930156a5a9143513.tar.gz KVIrc-64ddb924d7bb58ddfb42bfe7930156a5a9143513.tar.bz2 KVIrc-64ddb924d7bb58ddfb42bfe7930156a5a9143513.zip | |
fix for problem 1 and 3 of #808
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4431 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/dcc/voice.cpp')
| -rw-r--r-- | src/modules/dcc/voice.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/dcc/voice.cpp b/src/modules/dcc/voice.cpp index 05cd7d98a..30726aa4e 100644 --- a/src/modules/dcc/voice.cpp +++ b/src/modules/dcc/voice.cpp @@ -1010,9 +1010,7 @@ void KviDccVoice::setMixerVolume(int vol) ::ioctl(fd, req, &val); ::close(fd); - QString s; - s.sprintf(__tr_ctx("Volume: %i","dcc"), -vol); - m_pVolumeSlider->setToolTip(s); + m_pVolumeSlider->setToolTip(__tr2qs_ctx("Volume: %1","dcc").arg(-vol)); #endif } |
