Mercurial > minori
comparison src/gui/dialog/settings/torrents.cc @ 232:ff0061e75f0f
theme: add OS detection with glib
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sat, 13 Jan 2024 11:06:16 -0500 |
parents | 4eae379cb1ff |
children | 862d0d8619f6 |
comparison
equal
deleted
inserted
replaced
231:69f4768a820c | 232:ff0061e75f0f |
---|---|
8 #include <QVBoxLayout> | 8 #include <QVBoxLayout> |
9 #include <algorithm> | 9 #include <algorithm> |
10 | 10 |
11 QWidget* SettingsPageTorrents::CreateGeneralWidget() { | 11 QWidget* SettingsPageTorrents::CreateGeneralWidget() { |
12 QWidget* result = new QWidget(this); | 12 QWidget* result = new QWidget(this); |
13 result->setAutoFillBackground(true); | |
14 result->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Maximum); | 13 result->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Maximum); |
15 | 14 |
16 QVBoxLayout* full_layout = new QVBoxLayout(result); | 15 QVBoxLayout* full_layout = new QVBoxLayout(result); |
17 | 16 |
18 { | 17 { |