diff options
author | Jonathan White <support@dmapps.us> | 2019-01-17 06:53:29 +0300 |
---|---|---|
committer | Jonathan White <support@dmapps.us> | 2019-01-17 06:53:29 +0300 |
commit | a8e266129a6cd35bc8db77de88c3bbbc9697be5e (patch) | |
tree | aaebeda0e6cf114d00ae0e58120b360f48ee5c41 /src/gui/EntryPreviewWidget.cpp | |
parent | d11bb247b34b9002b9b0949644c8d30f4388f205 (diff) |
Corrected formatting and cleanup
Diffstat (limited to 'src/gui/EntryPreviewWidget.cpp')
-rw-r--r-- | src/gui/EntryPreviewWidget.cpp | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/gui/EntryPreviewWidget.cpp b/src/gui/EntryPreviewWidget.cpp index 19ec53ae9..06280a2a5 100644 --- a/src/gui/EntryPreviewWidget.cpp +++ b/src/gui/EntryPreviewWidget.cpp @@ -30,19 +30,18 @@ #include "keeshare/KeeShare.h" #endif -namespace -{ +namespace { constexpr int GeneralTabIndex = 0; } EntryPreviewWidget::EntryPreviewWidget(QWidget* parent) - : QWidget(parent) - , m_ui(new Ui::EntryPreviewWidget()) - , m_locked(false) - , m_currentEntry(nullptr) - , m_currentGroup(nullptr) - , m_selectedTabEntry(0) - , m_selectedTabGroup(0) + : QWidget(parent) + , m_ui(new Ui::EntryPreviewWidget()) + , m_locked(false) + , m_currentEntry(nullptr) + , m_currentGroup(nullptr) + , m_selectedTabEntry(0) + , m_selectedTabGroup(0) { m_ui->setupUi(this); |