Use C++17 fallthrough

This commit is contained in:
Jonas Kvinge
2022-07-26 20:37:06 +02:00
parent 33581fa61d
commit 98682a2da9
10 changed files with 15 additions and 16 deletions

View File

@@ -178,7 +178,7 @@ void ScrobblingAPI20::Authenticate(const bool https) {
messagebox_error.setTextFormat(Qt::RichText);
messagebox_error.exec();
}
// fallthrough
[[fallthrough]];
case QMessageBox::Save:
QApplication::clipboard()->setText(url.toString());
break;