Remove BaseSettings & merge ConcurrentSettings (#4775)

This commit is contained in:
pajlada
2023-08-28 17:51:28 +02:00
committed by GitHub
parent 4c942a2a42
commit 7cb04bf58b
18 changed files with 235 additions and 281 deletions
-1
View File
@@ -1,6 +1,5 @@
#include "widgets/BaseWidget.hpp"
#include "BaseSettings.hpp"
#include "common/QLogging.hpp"
#include "controllers/hotkeys/HotkeyController.hpp"
#include "singletons/Theme.hpp"
+1 -1
View File
@@ -710,7 +710,7 @@ void BaseWindow::updateScale()
auto scale =
this->nativeScale_ * (this->flags_.has(DisableCustomScaling)
? 1
: getABSettings()->getClampedUiScale());
: getSettings()->getClampedUiScale());
this->setScale(scale);
@@ -49,7 +49,7 @@ SelectChannelFiltersDialog::SelectChannelFiltersDialog(
(this->windowFlags() & ~(Qt::WindowContextHelpButtonHint)) |
Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint);
auto availableFilters = getCSettings().filterRecords.readOnly();
auto availableFilters = getSettings()->filterRecords.readOnly();
if (availableFilters->size() == 0)
{