Skip to content

Commit b9ab50d

Browse files
authored
Merge pull request #248 from atsju/JST/fixlogWarning
fix log `QSettings::endArray: No matching beginArray()`
2 parents ae7b845 + a512188 commit b9ab50d

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

dftfringe_fr.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3875,7 +3875,7 @@ You can click on the dot and it will be set as the current displayed wavefront.<
38753875
<name>zernikeEditDlg</name>
38763876
<message>
38773877
<location filename="zernikeeditdlg.ui" line="14"/>
3878-
<source>Edit Zernike Val;ues</source>
3878+
<source>Edit Zernike Values</source>
38793879
<translation type="unfinished"></translation>
38803880
</message>
38813881
<message>

standastigwizard.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ define_input::define_input(QWidget *parent)
263263
// set.setArrayIndex(i);
264264
// listDisplay->addItem(set.value("item").toString());
265265
// }
266-
set.endArray();
266+
// set.endArray();
267267
connect(listDisplay, &QWidget::customContextMenuRequested, this,
268268
&define_input::showContextMenu);
269269

@@ -291,13 +291,13 @@ void define_input::compute(){
291291
}
292292
QSettings set;
293293
set.setValue("stand astig ccw",CCWRb->isChecked() );
294-
set.beginWriteArray("stand astig removal files");
295-
// save the listDisplay of files to process
296-
for (int i = 0; i < listDisplay->count(); ++i) {
297-
set.setArrayIndex(i);
298-
set.setValue("item", listDisplay->item(i)->text());
299-
}
300-
set.endArray();
294+
// set.beginWriteArray("stand astig removal files");
295+
// // save the listDisplay of files to process
296+
// for (int i = 0; i < listDisplay->count(); ++i) {
297+
// set.setArrayIndex(i);
298+
// set.setValue("item", listDisplay->item(i)->text());
299+
// }
300+
// set.endArray();
301301
AstigReportTitle = title->text();
302302
runpb->setText("Working");
303303
runpb->setEnabled(false);

zernikeeditdlg.ui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</sizepolicy>
1818
</property>
1919
<property name="windowTitle">
20-
<string>Edit Zernike Val;ues</string>
20+
<string>Edit Zernike Values</string>
2121
</property>
2222
<layout class="QHBoxLayout" name="horizontalLayout_4">
2323
<item>

0 commit comments

Comments
 (0)