aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt10
-rw-r--r--src/ui/widgets/FilePage.h1
-rw-r--r--src/ui/widgets/KeyList.cpp1
3 files changed, 7 insertions, 5 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 79eae6ea..42fb5119 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -154,9 +154,9 @@ endif ()
if (APPLICATION_BUILD)
if (${CMAKE_BUILD_TYPE} STREQUAL "Release")
if (MINGW)
- add_executable(${AppName} WIN32 ${BASE_SOURCE} ${RESOURCE_FILES} ${QT5_MOCS})
+ add_executable(${AppName} WIN32 ${BASE_SOURCE} ${RESOURCE_FILES} ${QT5_MOCS} ${UI_HEADERS})
elseif (APPLE)
- add_executable(${AppName} MACOSX_BUNDLE ${ICON_RESOURCE} ${BASE_SOURCE} ${RESOURCE_FILES} ${QT5_MOCS})
+ add_executable(${AppName} MACOSX_BUNDLE ${ICON_RESOURCE} ${BASE_SOURCE} ${RESOURCE_FILES} ${QT5_MOCS} ${UI_HEADERS})
set_target_properties(${AppName} PROPERTIES
BUNDLE True
MACOSX_BUNDLE_GUI_IDENTIFIER pub.gpgfrontend.gpgfrontend
@@ -174,7 +174,7 @@ if (APPLICATION_BUILD)
WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
COMMENT "Copying Resources into App Bundle Resource")
elseif (LINUX)
- add_executable(${AppName} ${BASE_SOURCE} ${RESOURCE_FILES} ${QT5_MOCS})
+ add_executable(${AppName} ${BASE_SOURCE} ${RESOURCE_FILES} ${QT5_MOCS} ${UI_HEADERS})
add_custom_command(TARGET ${AppName} POST_BUILD
COMMAND /bin/mkdir -p ./gpgfrontend/usr/bin && /bin/mv -f ./${AppName} ./gpgfrontend/usr/bin/
WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
@@ -184,10 +184,10 @@ if (APPLICATION_BUILD)
WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
COMMENT "Complement to build the required architecture")
else ()
- add_executable(${AppName} ${BASE_SOURCE} ${RESOURCE_FILES} ${QT5_MOCS})
+ add_executable(${AppName} ${BASE_SOURCE} ${RESOURCE_FILES} ${QT5_MOCS} ${UI_HEADERS})
endif ()
else ()
- add_executable(${AppName} ${BASE_SOURCE} ${RESOURCE_FILES} ${QT5_MOCS})
+ add_executable(${AppName} ${BASE_SOURCE} ${RESOURCE_FILES} ${QT5_MOCS} ${UI_HEADERS})
endif ()
# Make app build with resources
diff --git a/src/ui/widgets/FilePage.h b/src/ui/widgets/FilePage.h
index 2a9f5b57..247b5a08 100644
--- a/src/ui/widgets/FilePage.h
+++ b/src/ui/widgets/FilePage.h
@@ -29,6 +29,7 @@
#include "ui/GpgFrontendUI.h"
#include "ui/widgets/InfoBoardWidget.h"
+#include "ui_FilePage.h"
namespace GpgFrontend::UI {
diff --git a/src/ui/widgets/KeyList.cpp b/src/ui/widgets/KeyList.cpp
index 5931e337..02a12e80 100644
--- a/src/ui/widgets/KeyList.cpp
+++ b/src/ui/widgets/KeyList.cpp
@@ -46,6 +46,7 @@ void KeyList::init() {
mGroupTab = new QTabWidget();
mGroupTab->setMovable(true);
mGroupTab->setTabsClosable(false);
+ mGroupTab->setDocumentMode(true);
auto* layout = new QVBoxLayout;
layout->addWidget(mGroupTab);