diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-12-25 00:08:06 +0000 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-12-25 00:08:06 +0000 |
commit | 01e38d12ede3109687208c387b50ee6a07c3426c (patch) | |
tree | 349c8d8a82cb4fa7dc5de16c1d479af24a30e9d6 /src/LoginPage.cpp | |
parent | Merge pull request #357 from LorenDB/qkchdocs (diff) | |
download | nheko-01e38d12ede3109687208c387b50ee6a07c3426c.tar.xz |
Fix some compiler warnings
Diffstat (limited to 'src/LoginPage.cpp')
-rw-r--r-- | src/LoginPage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LoginPage.cpp b/src/LoginPage.cpp index 8076d6d6..05741cca 100644 --- a/src/LoginPage.cpp +++ b/src/LoginPage.cpp @@ -225,7 +225,7 @@ LoginPage::onMatrixIdEntered() try { user = parse<User>(matrixid_input_->text().toStdString()); - } catch (const std::exception &e) { + } catch (const std::exception &) { showError(error_matrixid_label_, "You have entered an invalid Matrix ID e.g @joe:matrix.org"); return; @@ -389,7 +389,7 @@ LoginPage::onLoginButtonClicked() try { user = parse<User>(matrixid_input_->text().toStdString()); - } catch (const std::exception &e) { + } catch (const std::exception &) { showError(error_matrixid_label_, "You have entered an invalid Matrix ID e.g @joe:matrix.org"); return; |