VOIP: Fixed some compiler warnings and removed unnecessary translations.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5622 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2012-09-30 09:38:13 +00:00
parent b6bd1e9f8e
commit 9aa6478910
6 changed files with 7 additions and 15 deletions

View File

@ -10,9 +10,6 @@
<height>378</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="qwVadLayout">
<item>
<widget class="QPushButton" name="qpbAudioWizard">

View File

@ -5,6 +5,7 @@
#include "interface/rsvoip.h"
AudioPopupChatDialog::AudioPopupChatDialog(QWidget *parent)
: PopupChatDialog(parent)
{
audioListenToggleButton = new QPushButton ;
audioListenToggleButton->setMinimumSize(QSize(28,28)) ;

View File

@ -188,7 +188,7 @@
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>todo shortcut</string>
<string notr="true">todo shortcut</string>
</property>
</widget>
</item>

View File

@ -6,17 +6,17 @@
#include <gui/chat/ChatDialog.h>
#include <gui/AudioPopupChatDialog.h>
void PluginGUIHandler::ReceivedInvitation(const QString& peer_id)
void PluginGUIHandler::ReceivedInvitation(const QString& /*peer_id*/)
{
std::cerr << "****** Plugin GUI handler: received Invitation!" << std::endl;
}
void PluginGUIHandler::ReceivedVoipHangUp(const QString& peer_id)
void PluginGUIHandler::ReceivedVoipHangUp(const QString& /*peer_id*/)
{
std::cerr << "****** Plugin GUI handler: received HangUp!" << std::endl;
}
void PluginGUIHandler::ReceivedVoipAccept(const QString& peer_id)
void PluginGUIHandler::ReceivedVoipAccept(const QString& /*peer_id*/)
{
std::cerr << "****** Plugin GUI handler: received VoipAccept!" << std::endl;
}

View File

@ -431,7 +431,7 @@ bool SpeexOutputProcessor::isSequential() const {
return true;
}
void SpeexOutputProcessor::speex_jitter_init(SpeexJitter *jit, void *decoder, int sampling_rate)
void SpeexOutputProcessor::speex_jitter_init(SpeexJitter *jit, void *decoder, int /*sampling_rate*/)
{
jit->dec = decoder;
speex_decoder_ctl(decoder, SPEEX_GET_FRAME_SIZE, &jit->frame_size);

View File

@ -13,10 +13,6 @@
<property name="windowTitle">
<string>VoipTest Statistics</string>
</property>
<property name="windowIcon">
<iconset resource="images.qrc">
<normaloff>:/images/rstray3.png</normaloff>:/images/rstray3.png</iconset>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QSplitter" name="splitter">
@ -48,8 +44,6 @@
</item>
</layout>
</widget>
<resources>
<include location="images.qrc"/>
</resources>
<resources/>
<connections/>
</ui>