aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/interface_tree_cache_model.cpp
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2017-04-25 22:51:53 +0200
committerStig Bjørlykke <stig@bjorlykke.org>2017-04-26 06:11:32 +0000
commit30d98d1ea9cdec7cfa04f960337e9c0dbaf4c574 (patch)
treedad2be67545be76521c675a6d92e2d58905198a0 /ui/qt/interface_tree_cache_model.cpp
parent3b5cfa9a771b0a523855b72fe47e7bdf116550ca (diff)
Qt: Remove semicolon behind Q_UNUSED macro
Change-Id: I75ff975216da23447b94bc513671ac269c52b7dc Reviewed-on: https://code.wireshark.org/review/21342 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'ui/qt/interface_tree_cache_model.cpp')
-rw-r--r--ui/qt/interface_tree_cache_model.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/interface_tree_cache_model.cpp b/ui/qt/interface_tree_cache_model.cpp
index 9d1706f7f2..3190ba4fb7 100644
--- a/ui/qt/interface_tree_cache_model.cpp
+++ b/ui/qt/interface_tree_cache_model.cpp
@@ -350,7 +350,7 @@ interface_t * InterfaceTreeCacheModel::lookup(const QModelIndex &index) const
* other method.*/
bool InterfaceTreeCacheModel::isAllowedToBeEdited(const QModelIndex &index) const
{
- Q_UNUSED(index);
+ Q_UNUSED(index)
#ifdef HAVE_LIBPCAP
interface_t * device = lookup(index);
@@ -378,7 +378,7 @@ bool InterfaceTreeCacheModel::isAllowedToBeEdited(const QModelIndex &index) cons
// Whether this field is available for modification and display.
bool InterfaceTreeCacheModel::isAvailableField(const QModelIndex &index) const
{
- Q_UNUSED(index);
+ Q_UNUSED(index)
#ifdef HAVE_LIBPCAP
interface_t * device = lookup(index);