From e26063a872fc800d7dc9fc30ff10e3233420da38 Mon Sep 17 00:00:00 2001 From: Jonathan White Date: Sat, 1 Feb 2020 08:51:11 -0500 Subject: Fix compile errors when building snap package * System icons are no longer used eliminating the need to differentiate behavior for the snap package on Linux. --- src/core/Bootstrap.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/core/Bootstrap.cpp') diff --git a/src/core/Bootstrap.cpp b/src/core/Bootstrap.cpp index 46aff92d5..c983253f0 100644 --- a/src/core/Bootstrap.cpp +++ b/src/core/Bootstrap.cpp @@ -85,12 +85,6 @@ namespace Bootstrap bootstrap(); MessageBox::initializeButtonDefs(); -#ifdef KEEPASSXC_DIST_SNAP - // snap: force fallback theme to avoid using system theme (gtk integration) - // with missing actions just like on Windows and macOS - QIcon::setThemeSearchPaths(QStringList() << ":/icons"); -#endif - #ifdef Q_OS_MACOS // Don't show menu icons on OSX QApplication::setAttribute(Qt::AA_DontShowIconsInMenus); -- cgit v1.2.3