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:
Diffstat (limited to 'src/gui/MainWindow.cpp')
-rw-r--r--src/gui/MainWindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/MainWindow.cpp b/src/gui/MainWindow.cpp
index f8cb7d00e..51796e810 100644
--- a/src/gui/MainWindow.cpp
+++ b/src/gui/MainWindow.cpp
@@ -19,6 +19,7 @@
#include "ui_MainWindow.h"
#include "core/Database.h"
+#include "core/DataPath.h"
#include "core/Metadata.h"
#include "gui/DatabaseWidget.h"
@@ -27,6 +28,8 @@ MainWindow::MainWindow()
{
m_ui->setupUi(this);
+ setWindowIcon(DataPath::applicationIcon());
+
connect(m_ui->tabWidget, SIGNAL(currentChanged(int)), SLOT(currentTabChanged(int)));
connect(m_ui->tabWidget, SIGNAL(entrySelectionChanged(bool)), m_ui->actionEntryEdit, SLOT(setEnabled(bool)));
connect(m_ui->tabWidget, SIGNAL(entrySelectionChanged(bool)), m_ui->actionEntryDelete, SLOT(setEnabled(bool)));