aboutsummaryrefslogtreecommitdiff
path: root/examples/GuiClient
diff options
context:
space:
mode:
authorManjeet Dahiya <manjeetdahiya@gmail.com>2010-10-12 14:40:39 +0000
committerManjeet Dahiya <manjeetdahiya@gmail.com>2010-10-12 14:40:39 +0000
commit7a1e3767bbb7e635c0443dda09c6189ca83383c5 (patch)
tree4b05a9d96f4b65744e76ba9922762585fabd57e4 /examples/GuiClient
parent96719068ec2aa1690e3b360c966dc9f991054e94 (diff)
downloadqxmpp-7a1e3767bbb7e635c0443dda09c6189ca83383c5.tar.gz
suppress warning in release build for all the files
Diffstat (limited to 'examples/GuiClient')
-rw-r--r--examples/GuiClient/capabilitiesCache.cpp1
-rw-r--r--examples/GuiClient/chatDialog.cpp1
-rw-r--r--examples/GuiClient/statusTextWidget.cpp1
3 files changed, 3 insertions, 0 deletions
diff --git a/examples/GuiClient/capabilitiesCache.cpp b/examples/GuiClient/capabilitiesCache.cpp
index 53e79a5f..0feda4f4 100644
--- a/examples/GuiClient/capabilitiesCache.cpp
+++ b/examples/GuiClient/capabilitiesCache.cpp
@@ -41,6 +41,7 @@ capabilitiesCache::capabilitiesCache(QXmppClient* client) :
bool check = connect(ext, SIGNAL(infoReceived(const QXmppDiscoveryIq&)),
SLOT(infoReceived(const QXmppDiscoveryIq&)));
Q_ASSERT(check);
+ Q_UNUSED(check);
}
}
diff --git a/examples/GuiClient/chatDialog.cpp b/examples/GuiClient/chatDialog.cpp
index 5df867f4..8602b77a 100644
--- a/examples/GuiClient/chatDialog.cpp
+++ b/examples/GuiClient/chatDialog.cpp
@@ -49,6 +49,7 @@ chatDialog::chatDialog(QWidget *parent): QDialog(parent, Qt::Window),
ui->verticalLayout->insertWidget(0, m_view);
bool check = connect(m_pushButtonSend, SIGNAL(clicked(bool)), SLOT(sendMessage()));
Q_ASSERT(check);
+ Q_UNUSED(check);
updateSendButtonGeomerty();
}
diff --git a/examples/GuiClient/statusTextWidget.cpp b/examples/GuiClient/statusTextWidget.cpp
index 17a36dc7..32d3dfb5 100644
--- a/examples/GuiClient/statusTextWidget.cpp
+++ b/examples/GuiClient/statusTextWidget.cpp
@@ -138,6 +138,7 @@ void statusTextWidget::addStatusTextToList(const QString& status)
action->setData(status);
bool check = connect(action, SIGNAL(triggered()), SLOT(statusTextChanged_menuClick()));
Q_ASSERT(check);
+ Q_UNUSED(check);
m_statusTextActionList.append(action);
}