summary refs log tree commit diff
path: root/src/MainWindow.cpp
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2020-12-25 05:59:18 +0100
committerGitHub <noreply@github.com>2020-12-25 05:59:18 +0100
commitea5f6ca0f41b6dd91d4d01d3f575f7688f50d837 (patch)
tree09280bb5f26a818eab462a2b42680a757bb2bc5c /src/MainWindow.cpp
parentMerge pull request #323 from LorenDB/newProfile (diff)
parentlint (diff)
downloadnheko-ea5f6ca0f41b6dd91d4d01d3f575f7688f50d837.tar.xz
Merge pull request #358 from Nheko-Reborn/windows-fixes
Windows fixes
Diffstat (limited to 'src/MainWindow.cpp')
-rw-r--r--src/MainWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp
index ffd0e30b..bc7b5223 100644
--- a/src/MainWindow.cpp
+++ b/src/MainWindow.cpp
@@ -164,7 +164,7 @@ MainWindow::MainWindow(QWidget *parent)
                 try {
                         using namespace mtx::identifiers;
                         http::client()->set_user(parse<User>(user_id.toStdString()));
-                } catch (const std::invalid_argument &e) {
+                } catch (const std::invalid_argument &) {
                         nhlog::ui()->critical("bootstrapped with invalid user_id: {}",
                                               user_id.toStdString());
                 }
@@ -473,7 +473,7 @@ MainWindow::openReadReceiptsDialog(const QString &event_id)
 
         try {
                 dialog->addUsers(cache::readReceipts(event_id, room_id));
-        } catch (const lmdb::error &e) {
+        } catch (const lmdb::error &) {
                 nhlog::db()->warn("failed to retrieve read receipts for {} {}",
                                   event_id.toStdString(),
                                   chat_page_->currentRoom().toStdString());