aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-12-10 17:53:09 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2018-12-10 17:55:28 +0100
commit4443655c13cbc437df71afbe16e4cd22ae6892bb (patch)
treea8d424fdd487daca22a7dd52bf185534e71374bd /src
parentfirejail profile: disable private-bin (diff)
downloadsmolbote-4443655c13cbc437df71afbe16e4cd22ae6892bb.tar.xz
Add separate firejail .desktop
Diffstat (limited to 'src')
-rw-r--r--src/meson.build9
-rw-r--r--src/webengine/webpage.cpp1
2 files changed, 8 insertions, 2 deletions
diff --git a/src/meson.build b/src/meson.build
index 367a7f9..2243887 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -55,10 +55,15 @@ if ['linux'].contains(host_machine.system())
conf.set('exec_poi', join_paths(get_option('prefix'), get_option('bindir'), get_option('poiName')))
conf.set('profile_path', join_paths(get_option('prefix'), get_option('libdir'), 'smolbote', 'poi.profile'))
+ # application icon
install_data('../data/poi.svg', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/scalable/apps'))
- install_data('../linux/poi.profile', install_dir: join_paths(get_option('libdir'), 'smolbote'))
+ # firejail profile
+ install_data('../linux/firejail/poi.profile', install_dir: join_paths(get_option('libdir'), 'smolbote'))
+
+ # .desktop
configure_file(input: '../linux/poi.desktop.in', output: 'poi.desktop', configuration: conf, install_dir: join_paths(get_option('datadir'), 'applications'))
- configure_file(input: '../linux/poi_ps.desktop.in', output: 'poi_ps.desktop', configuration: conf, install_dir: join_paths(get_option('datadir'), 'applications'))
+ configure_file(input: '../linux/poi_firejail.desktop.in', output: 'poi_firejail.desktop', configuration: conf, install_dir: join_paths(get_option('datadir'), 'applications'))
+ configure_file(input: '../linux/poi_picksession.desktop.in', output: 'poi_picksession.desktop', configuration: conf, install_dir: join_paths(get_option('datadir'), 'applications'))
endif
diff --git a/src/webengine/webpage.cpp b/src/webengine/webpage.cpp
index 0e1238a..ecbb1b9 100644
--- a/src/webengine/webpage.cpp
+++ b/src/webengine/webpage.cpp
@@ -11,6 +11,7 @@
#include <QMessageBox>
#include <QTimer>
#include <QWebEngineFullScreenRequest>
+#include <QWebEngineCertificateError>
QString tr_terminationStatus(QWebEnginePage::RenderProcessTerminationStatus status)
{