aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2020-11-21 18:26:08 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2020-11-21 18:34:54 +0200
commit36adca24ff8ea1daacf5a3c8d09124dc1c78b6fa (patch)
tree35b49ca65d6da09171c3ace0558d8790c5e7e991 /src
parentProbe several locations for configuration file (diff)
downloadsmolbote-36adca24ff8ea1daacf5a3c8d09124dc1c78b6fa.tar.xz
Fix test failures
Updated sha256sum for bumped rcc version
Diffstat (limited to 'src')
-rw-r--r--src/about/aboutdialog.cpp4
-rw-r--r--src/bookmarks/builtin.cpp2
-rw-r--r--src/webengine/meson.build2
3 files changed, 5 insertions, 3 deletions
diff --git a/src/about/aboutdialog.cpp b/src/about/aboutdialog.cpp
index 059e3bf..6fa4127 100644
--- a/src/about/aboutdialog.cpp
+++ b/src/about/aboutdialog.cpp
@@ -27,7 +27,9 @@ AboutDialog::AboutDialog(QWidget *parent)
: QDialog(parent)
, ui(new Ui::AboutDialog)
{
- setAttribute(Qt::WA_DeleteOnClose, true);
+ // This causes a double-free in the destructor
+ //setAttribute(Qt::WA_DeleteOnClose, true);
+
ui->setupUi(this);
constexpr auto icon_svg = logos::get([] { return std::string_view("poi_window.svg"); });
diff --git a/src/bookmarks/builtin.cpp b/src/bookmarks/builtin.cpp
index 732aa64..1ef516b 100644
--- a/src/bookmarks/builtin.cpp
+++ b/src/bookmarks/builtin.cpp
@@ -103,6 +103,6 @@ int sub_bookmarks(const QStringList &l, Browser &)
delete out;
delete model;
- return EXIT_FAILURE;
+ return EXIT_SUCCESS;
}
} // namespace
diff --git a/src/webengine/meson.build b/src/webengine/meson.build
index 47e4adf..da59006 100644
--- a/src/webengine/meson.build
+++ b/src/webengine/meson.build
@@ -21,7 +21,7 @@ test('profilemanager', executable('profilemanager', 'test/profilemanager.cpp', d
suite: 'webengine')
test('view', executable('view', 'test/view.cpp', dependencies: [ dep_qt5, dep_webengine, dep_catch ]),
- args: [ '-platform', 'offscreen' ],
+ #args: [ '-platform', 'offscreen' ],
env: { 'PROFILE' : meson.current_source_dir()/'test/testing.profile',
'URL' : meson.current_source_dir()/'test/sample.html' },
suite: 'webengine')