From 603406e5789b71a2ad9f9182d09fd2889ae02e19 Mon Sep 17 00:00:00 2001 From: Soren Stoutner Date: Thu, 30 Jan 2025 22:15:45 -0700 Subject: [PATCH] Increase the height of the settings dialog. https://redmine.stoutner.com/issues/1270 --- doc/index.docbook | 2 +- src/dialogs/SettingsDialog.cpp | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/index.docbook b/doc/index.docbook index 4724e87..6f812c9 100644 --- a/doc/index.docbook +++ b/doc/index.docbook @@ -1845,7 +1845,7 @@ <ulink url="https://www.stoutner.com/privacy-browser-pc-0.8/">0.8</ulink> - - 30 January 2025 + 30 January 2025 Fix the WebEngine reloading the current URL when trying to load a new URL with a different user agent. diff --git a/src/dialogs/SettingsDialog.cpp b/src/dialogs/SettingsDialog.cpp index b9f1832..0e4d5f7 100644 --- a/src/dialogs/SettingsDialog.cpp +++ b/src/dialogs/SettingsDialog.cpp @@ -1,5 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-or-later - * SPDX-FileCopyrightText: 2024 Soren Stoutner + * SPDX-FileCopyrightText: 2024-2025 Soren Stoutner * * This file is part of Privacy Browser PC . * @@ -26,13 +26,16 @@ #include "ui_SettingsPrivacy.h" #include "ui_SettingsSpellCheck.h" -// Qt toolkit headers. +// Qt framework headers. #include #include SettingsDialog::SettingsDialog(QWidget *parentWidgetPointer, KCoreConfigSkeleton *coreConfigSkeletonPointer) : KConfigDialog(parentWidgetPointer, QLatin1String("settings"), coreConfigSkeletonPointer) { + // Set the minimum size of the dialog. + setMinimumSize(600, 600); + // Instantiate the settings UI. Ui::PrivacySettings privacySettingsUi; Ui::GeneralSettings generalSettingsUi; -- 2.47.2