summaryrefslogtreecommitdiff
path: root/src/abaddon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/abaddon.cpp')
-rw-r--r--src/abaddon.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/abaddon.cpp b/src/abaddon.cpp
index c161595..921549b 100644
--- a/src/abaddon.cpp
+++ b/src/abaddon.cpp
@@ -837,6 +837,7 @@ void Abaddon::ActionSetToken() {
}
void Abaddon::ActionLoginQR() {
+#ifdef WITH_QRLOGIN
RemoteAuthDialog dlg(*m_main_window);
auto response = dlg.run();
if (response == Gtk::RESPONSE_OK) {
@@ -847,6 +848,7 @@ void Abaddon::ActionLoginQR() {
ActionConnect();
}
m_main_window->UpdateMenus();
+#endif
}
void Abaddon::ActionChannelOpened(Snowflake id, bool expand_to) {