Use maybe_unused instead of Q_UNUSED

This commit is contained in:
Vitor Kiguchi
2020-12-06 16:03:24 -03:00
parent 62a69e0547
commit db0383fe0e
11 changed files with 26 additions and 42 deletions
+1 -2
View File
@@ -754,7 +754,6 @@ void GameListPlaceholder::onUpdateThemedIcons() {
image->setPixmap(QIcon::fromTheme(QStringLiteral("plus_folder")).pixmap(200));
}
void GameListPlaceholder::mouseDoubleClickEvent(QMouseEvent* event) {
Q_UNUSED(event);
void GameListPlaceholder::mouseDoubleClickEvent([[maybe_unused]] QMouseEvent* event) {
emit GameListPlaceholder::AddDirectory();
}