Line 0
Link Here
|
|
|
1 |
From eb9ff677d0c681a86a9ef296f5a363549b94c42c Mon Sep 17 00:00:00 2001 |
2 |
From: Lars Wendler <polynomial-c@gentoo.org> |
3 |
Date: Wed, 20 Mar 2019 11:53:21 +0100 |
4 |
Subject: [PATCH] src/gui/DatabaseWidget.cpp: Build fails without |
5 |
WITH_XC_KEESHARE |
6 |
MIME-Version: 1.0 |
7 |
Content-Type: text/plain; charset=UTF-8 |
8 |
Content-Transfer-Encoding: 8bit |
9 |
|
10 |
/var/tmp/portage/app-admin/keepassxc-2.4.0/work/keepassxc-2.4.0/src/gui/DatabaseWidget.cpp: In member function ‘void DatabaseWidget::search(const QString&)’: |
11 |
/var/tmp/portage/app-admin/keepassxc-2.4.0/work/keepassxc-2.4.0/src/gui/DatabaseWidget.cpp:1115:5: error: ‘m_shareLabel’ was not declared in this scope |
12 |
m_shareLabel->setVisible(false); |
13 |
^~~~~~~~~~~~ |
14 |
/var/tmp/portage/app-admin/keepassxc-2.4.0/work/keepassxc-2.4.0/src/gui/DatabaseWidget.cpp:1115:5: note: suggested alternative: ‘m_searchingLabel’ |
15 |
m_shareLabel->setVisible(false); |
16 |
^~~~~~~~~~~~ |
17 |
m_searchingLabel |
18 |
--- |
19 |
src/gui/DatabaseWidget.cpp | 2 ++ |
20 |
1 file changed, 2 insertions(+) |
21 |
|
22 |
diff --git a/src/gui/DatabaseWidget.cpp b/src/gui/DatabaseWidget.cpp |
23 |
index 8728c331f..e4196734b 100644 |
24 |
--- src/gui/DatabaseWidget.cpp |
25 |
+++ src/gui/DatabaseWidget.cpp |
26 |
@@ -1112,7 +1112,9 @@ void DatabaseWidget::search(const QString& searchtext) |
27 |
} |
28 |
|
29 |
m_searchingLabel->setVisible(true); |
30 |
+#ifdef WITH_XC_KEESHARE |
31 |
m_shareLabel->setVisible(false); |
32 |
+#endif |
33 |
|
34 |
emit searchModeActivated(); |
35 |
} |