Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan White <support@dmapps.us>2020-08-01 18:13:28 +0300
committerJonathan White <support@dmapps.us>2020-08-08 21:10:49 +0300
commit7f2efd3193802c083e8873b1ea9cbbacf0d3e7fd (patch)
tree275158fdab9ca4cafc94a3f2d0d9d812a45c3e46 /src/gui/DatabaseWidget.cpp
parenta79afd6580421775e4eebc2d24b601001060054d (diff)
Fix Search and KeeShare banner style
Diffstat (limited to 'src/gui/DatabaseWidget.cpp')
-rw-r--r--src/gui/DatabaseWidget.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/gui/DatabaseWidget.cpp b/src/gui/DatabaseWidget.cpp
index b929cfaf0..8aca27940 100644
--- a/src/gui/DatabaseWidget.cpp
+++ b/src/gui/DatabaseWidget.cpp
@@ -141,21 +141,15 @@ DatabaseWidget::DatabaseWidget(QSharedPointer<Database> db, QWidget* parent)
connect(m_entryView, SIGNAL(customContextMenuRequested(QPoint)), SLOT(emitEntryContextMenuRequested(QPoint)));
// Add a notification for when we are searching
+ m_searchingLabel->setObjectName("SearchBanner");
m_searchingLabel->setText(tr("Searching..."));
m_searchingLabel->setAlignment(Qt::AlignCenter);
- m_searchingLabel->setStyleSheet("color: rgb(0, 0, 0);"
- "background-color: rgb(255, 253, 160);"
- "border: 2px solid rgb(190, 190, 190);"
- "border-radius: 4px;");
m_searchingLabel->setVisible(false);
#ifdef WITH_XC_KEESHARE
+ m_shareLabel->setObjectName("KeeShareBanner");
m_shareLabel->setText(tr("Shared group..."));
m_shareLabel->setAlignment(Qt::AlignCenter);
- m_shareLabel->setStyleSheet("color: rgb(0, 0, 0);"
- "background-color: rgb(255, 253, 160);"
- "border: 2px solid rgb(190, 190, 190);"
- "border-radius: 4px;");
m_shareLabel->setVisible(false);
#endif