aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/main_window/MainWindow.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-02-13 06:54:44 +0000
committerSaturneric <[email protected]>2022-02-13 06:54:44 +0000
commitb991fea4912c63170c79ccdc586e3d3bc4297715 (patch)
tree8d1e1c2acc55442a52caf7f8814a689d9f7ba37b /src/ui/main_window/MainWindow.cpp
parent<fix>(ci): Set Git's file line endings to LF (diff)
downloadGpgFrontend-b991fea4912c63170c79ccdc586e3d3bc4297715.tar.gz
GpgFrontend-b991fea4912c63170c79ccdc586e3d3bc4297715.zip
<feat, refactor>(src): Enable top encryption action menu in file mode
1. Adjust the names of some functions 2. Enable top encryption action menu in file mode
Diffstat (limited to 'src/ui/main_window/MainWindow.cpp')
-rw-r--r--src/ui/main_window/MainWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/main_window/MainWindow.cpp b/src/ui/main_window/MainWindow.cpp
index 66c240a9..53fce2ca 100644
--- a/src/ui/main_window/MainWindow.cpp
+++ b/src/ui/main_window/MainWindow.cpp
@@ -43,7 +43,7 @@ MainWindow::MainWindow() {
this->setWindowTitle(qApp->applicationName());
}
-void MainWindow::init() noexcept {
+void MainWindow::Init() noexcept {
try {
/* get path where app was started */
setCorner(Qt::BottomLeftCorner, Qt::LeftDockWidgetArea);
@@ -117,7 +117,7 @@ void MainWindow::init() noexcept {
slot_start_wizard();
}
- emit Loaded();
+ emit SignalLoaded();
// if not prohibit update checking
if (!prohibit_update_checking_) {