Sat, 11 Jun 2022 19:29:20 +0200
Changed import XML method for beer styles using a temporary struct and native database functions. This is the correct method which gives the correct results.
#ifndef _EDITFERMENTABLE_H #define _EDITFERMENTABLE_H #include <QDialog> namespace Ui { class EditFermentable; } class EditFermentable : public QDialog { Q_OBJECT signals: void entry_changed(); public: explicit EditFermentable(int id, QWidget *parent = 0); ~EditFermentable(); private slots: void on_saveButton_clicked(); void on_quitButton_clicked(); void on_deleteButton_clicked(); void is_changed(); void wk_changed(double val); void lintner_changed(double val); private: Ui::EditFermentable *ui; int recno; bool textIsChanged = false; void WindowTitle(); }; #endif