summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2009-11-21 23:03:52 (GMT)
committerKevin Smith <git@kismith.co.uk>2009-11-21 23:03:52 (GMT)
commit38fbde49ec4ff77708237d768581a47e6dd7d553 (patch)
treef1f98389faa7cc5d0312c104a682b5f29f0dd182 /Swift/QtUI
parent18dd39bff0426b6f2cd77395a61faf8fa3108a83 (diff)
downloadswift-contrib-38fbde49ec4ff77708237d768581a47e6dd7d553.zip
swift-contrib-38fbde49ec4ff77708237d768581a47e6dd7d553.tar.bz2
Removing compiler warnings.
Swiften and Swift now build with no compiler warnings for me on Snow Leopard.
Diffstat (limited to 'Swift/QtUI')
-rw-r--r--Swift/QtUI/EventViewer/EventModel.cpp4
-rw-r--r--Swift/QtUI/QtChatTabs.cpp4
-rw-r--r--Swift/QtUI/QtJoinMUCDialog.cpp2
-rw-r--r--Swift/QtUI/QtLoginWindow.cpp4
4 files changed, 7 insertions, 7 deletions
diff --git a/Swift/QtUI/EventViewer/EventModel.cpp b/Swift/QtUI/EventViewer/EventModel.cpp
index a2343ed..a3d5406 100644
--- a/Swift/QtUI/EventViewer/EventModel.cpp
+++ b/Swift/QtUI/EventViewer/EventModel.cpp
@@ -9,11 +9,11 @@ EventModel::~EventModel() {
}
-QVariant EventModel::data(const QModelIndex& index, int role) const {
+QVariant EventModel::data(const QModelIndex& /*index*/, int /*role*/) const {
return QVariant();
}
-int EventModel::rowCount(const QModelIndex& parent) const {
+int EventModel::rowCount(const QModelIndex& /*parent*/) const {
return 0;
}
diff --git a/Swift/QtUI/QtChatTabs.cpp b/Swift/QtUI/QtChatTabs.cpp
index 2dbeed7..e30478c 100644
--- a/Swift/QtUI/QtChatTabs.cpp
+++ b/Swift/QtUI/QtChatTabs.cpp
@@ -102,11 +102,11 @@ void QtChatTabs::handleTabTitleUpdated() {
}
}
-void QtChatTabs::resizeEvent(QResizeEvent* event) {
+void QtChatTabs::resizeEvent(QResizeEvent*) {
emit geometryChanged();
}
-void QtChatTabs::moveEvent(QMoveEvent* event) {
+void QtChatTabs::moveEvent(QMoveEvent*) {
emit geometryChanged();
}
diff --git a/Swift/QtUI/QtJoinMUCDialog.cpp b/Swift/QtUI/QtJoinMUCDialog.cpp
index b6f5814..77879ee 100644
--- a/Swift/QtUI/QtJoinMUCDialog.cpp
+++ b/Swift/QtUI/QtJoinMUCDialog.cpp
@@ -3,7 +3,7 @@
namespace Swift {
-QtJoinMUCDialog::QtJoinMUCDialog(const QString& nick, const QString& muc, QWidget* parent) : QDialog(parent) {
+QtJoinMUCDialog::QtJoinMUCDialog(const QString&, const QString&, QWidget* parent) : QDialog(parent) {
setupUi(this);
errorLabel_->hide();
setAttribute(Qt::WA_DeleteOnClose, true);
diff --git a/Swift/QtUI/QtLoginWindow.cpp b/Swift/QtUI/QtLoginWindow.cpp
index 4daa658..6466692 100644
--- a/Swift/QtUI/QtLoginWindow.cpp
+++ b/Swift/QtUI/QtLoginWindow.cpp
@@ -251,11 +251,11 @@ void QtLoginWindow::bringToFront() {
}
}
-void QtLoginWindow::resizeEvent(QResizeEvent* event) {
+void QtLoginWindow::resizeEvent(QResizeEvent*) {
emit geometryChanged();
}
-void QtLoginWindow::moveEvent(QMoveEvent* event) {
+void QtLoginWindow::moveEvent(QMoveEvent*) {
emit geometryChanged();
}