From 64ddb924d7bb58ddfb42bfe7930156a5a9143513 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Thu, 10 Jun 2010 12:51:38 +0000 Subject: fix for problem 1 and 3 of #808 git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4431 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/dcc/voice.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/modules/dcc/voice.cpp') 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 } -- cgit v1.3.1-10-gc9f91