diff options
author | Kevin Smith <git@kismith.co.uk> | 2009-11-21 23:03:52 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2009-11-21 23:03:52 (GMT) |
commit | 38fbde49ec4ff77708237d768581a47e6dd7d553 (patch) | |
tree | f1f98389faa7cc5d0312c104a682b5f29f0dd182 /Swift/QtUI/EventViewer | |
parent | 18dd39bff0426b6f2cd77395a61faf8fa3108a83 (diff) | |
download | swift-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/EventViewer')
-rw-r--r-- | Swift/QtUI/EventViewer/EventModel.cpp | 4 |
1 files changed, 2 insertions, 2 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; } |