diff src/gui/dialog/settings.cpp @ 62:4c6dd5999b39

*: update 1. updated animia 2. use widestrings for filesystem on Windows
author Paper <mrpapersonic@gmail.com>
date Sun, 01 Oct 2023 06:16:06 -0400
parents d0adc4aedfc8
children fe719c109dbc
line wrap: on
line diff
--- a/src/gui/dialog/settings.cpp	Fri Sep 29 15:52:31 2023 -0400
+++ b/src/gui/dialog/settings.cpp	Sun Oct 01 06:16:06 2023 -0400
@@ -37,7 +37,7 @@
 	tab_widget->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding);
 
 	QVBoxLayout* layout = new QVBoxLayout;
-	layout->setMargin(0);
+	layout->setContentsMargins(0, 0, 0, 0);
 	layout->addWidget(page_title);
 	layout->addWidget(tab_widget);
 	setLayout(layout);
@@ -101,7 +101,7 @@
 	layout = new QHBoxLayout;
 	layout->addWidget(sidebar);
 	layout->addWidget(stacked);
-	layout->setMargin(0);
+	layout->setContentsMargins(0, 0, 0, 0);
 	widget->setLayout(layout);
 
 	QDialogButtonBox* button_box = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel, this);