]> git.sur5r.net Git - minitube/blobdiff - src/channelview.cpp
Fix compiler warnings reported by clang.
[minitube] / src / channelview.cpp
index 893f891288ee2764f19e98215898023ce0dbd7f5..205618ac8f0d40226535e569dd7bb133fa8a8ef1 100644 (file)
@@ -202,7 +202,7 @@ void ChannelView::leaveEvent(QEvent *event) {
     // channelsModel->clearHover();
 }
 
-void ChannelView::itemEntered(const QModelIndex &index) {
+void ChannelView::itemEntered(const QModelIndex &) {
     // channelsModel->setHoveredRow(index.row());
 }
 
@@ -285,6 +285,7 @@ void ChannelView::toggleShowUpdated(bool enable) {
 }
 
 void ChannelView::updateQuery(bool transition) {
+    Q_UNUSED(transition);
     errorMessage.clear();
     if (!Database::exists()) return;