From 5877c6047893f5d0697c7d93b83637f02be7cfe3 Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Sat, 9 Nov 2024 12:55:47 +0100 Subject: [PATCH] tidy --- src/widgets/dialogs/LoginDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/dialogs/LoginDialog.cpp b/src/widgets/dialogs/LoginDialog.cpp index a2e5de16d..fde38b943 100644 --- a/src/widgets/dialogs/LoginDialog.cpp +++ b/src/widgets/dialogs/LoginDialog.cpp @@ -57,7 +57,7 @@ bool logInWithImplicitGrantCredentials(QWidget *parent, const QString &userID, errors.append("Missing OAuth Token"); } - if (errors.length() > 0) + if (!errors.empty()) { QMessageBox messageBox(parent); messageBox.setWindowTitle("Invalid account credentials");