aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/settings/SettingsGeneral.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-12-16 19:11:03 +0000
committerSaturneric <[email protected]>2021-12-16 19:27:37 +0000
commit3f70ce5de094287452d2f42337c057a659e99166 (patch)
tree97d3c3efc20b2f2306b8e004dc9a4b7e03b708b0 /src/ui/settings/SettingsGeneral.cpp
parentFix problem on Windows. (diff)
downloadGpgFrontend-3f70ce5de094287452d2f42337c057a659e99166.tar.gz
GpgFrontend-3f70ce5de094287452d2f42337c057a659e99166.zip
Fixed Issues on Windows & Reduce warning.
Diffstat (limited to 'src/ui/settings/SettingsGeneral.cpp')
-rw-r--r--src/ui/settings/SettingsGeneral.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/settings/SettingsGeneral.cpp b/src/ui/settings/SettingsGeneral.cpp
index 3b767e3a..6b6568a4 100644
--- a/src/ui/settings/SettingsGeneral.cpp
+++ b/src/ui/settings/SettingsGeneral.cpp
@@ -100,7 +100,7 @@ GeneralTab::GeneralTab(QWidget* parent) : QWidget(parent) {
for (const auto& l : lang) {
langSelectBox->addItem(l);
}
- langSelectBox->setSizeAdjustPolicy(QComboBox::AdjustToMinimumContentsLength);
+ langSelectBox->setSizeAdjustPolicy(QComboBox::AdjustToContents);
langBoxLayout->addWidget(langSelectBox);
langBoxLayout->addWidget(new QLabel(