widgets/doublespinbox.cpp

changeset 259
c27612f0eac0
parent 253
8b994c917f69
child 264
76a025db4948
--- a/widgets/doublespinbox.cpp	Wed Jun 22 23:51:06 2022 +0300
+++ b/widgets/doublespinbox.cpp	Sun Jun 26 19:44:45 2022 +0300
@@ -24,7 +24,7 @@
 DoubleSpinBox::DoubleSpinBox(QWidget* parent) :
 	QDoubleSpinBox {parent}
 {
-	this->setLocale({"C"});
+	this->setLocale(QLocale{"C"});
 	this->setRange(-1e6, 1e6);
 	this->setDecimals(4);
 }

mercurial