diff src/gui/widgets/optional_date.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 75c804f713b2
children 3d2decf093bb
line wrap: on
line diff
--- a/src/gui/widgets/optional_date.cpp	Fri Sep 29 15:52:31 2023 -0400
+++ b/src/gui/widgets/optional_date.cpp	Sun Oct 01 06:16:06 2023 -0400
@@ -10,7 +10,7 @@
 
 OptionalDate::OptionalDate(bool enabled, QWidget* parent) : QWidget(parent) {
 	QHBoxLayout* layout = new QHBoxLayout(this);
-	layout->setMargin(0);
+	layout->setContentsMargins(0, 0, 0, 0);
 
 	_checkbox = new QCheckBox(this);
 	_checkbox->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred);