diff -r 080524ab2fe8 -r c6fa5be47634 src/CalibrateiSpindel.h --- a/src/CalibrateiSpindel.h Sun Oct 15 17:37:08 2023 +0200 +++ b/src/CalibrateiSpindel.h Mon Oct 16 11:39:20 2023 +0200 @@ -28,7 +28,6 @@ private slots: void on_quitButton_clicked(); - void on_saveButton_clicked(); void refreshTable(void); void on_addButton_clicked(); void on_deleteRow_clicked(); @@ -44,12 +43,13 @@ QJsonDocument data; bool ignoreChanges = false; bool textIsChanged = false; + bool dataHasErrors = false; double Old[4], New[4]; QList oCal; QList nCal; - bool sort_test(const Calibrate &D1, const Calibrate &D2); void WindowTitle(); + void SaveData(); }; #endif