src/mainwindow.cpp

changeset 1230
29dc03eceb5f
parent 1229
04af56fa8ce6
child 1231
ce0c9f2e6b9c
equal deleted inserted replaced
1229:04af56fa8ce6 1230:29dc03eceb5f
1177 { 1177 {
1178 int numerator = ui.ringToolSegments->value(); 1178 int numerator = ui.ringToolSegments->value();
1179 int denominator = ringToolDivisions(); 1179 int denominator = ringToolDivisions();
1180 Simplify(numerator, denominator); 1180 Simplify(numerator, denominator);
1181 ui.ringToolSegmentsLabel->setText(format( 1181 ui.ringToolSegmentsLabel->setText(format(
1182 "<sup>%1</sup>∕<sub>%2</sub>", 1182 "<sup>%1</sup>\u2215<sub>%2</sub>",
1183 numerator, 1183 numerator,
1184 denominator 1184 denominator
1185 )); 1185 ));
1186 } 1186 }
1187 1187

mercurial