diff options
author | DeepBlueV7.X <nicolas.werner@hotmail.de> | 2020-12-25 05:59:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-25 05:59:18 +0100 |
commit | ea5f6ca0f41b6dd91d4d01d3f575f7688f50d837 (patch) | |
tree | 09280bb5f26a818eab462a2b42680a757bb2bc5c /src/MainWindow.cpp | |
parent | Merge pull request #323 from LorenDB/newProfile (diff) | |
parent | lint (diff) | |
download | nheko-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.cpp | 4 |
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()); |