Add defualt-constructor to struct price_t.

This commit is contained in:
Gerhard Hoffmann 2024-01-31 15:13:24 +01:00
parent 1467a69487
commit f848baec83

View File

@ -32,6 +32,11 @@ struct CALCULATE_LIBRARY_API price_t {
double brutto;
double vat_percentage;
double vat;
explicit price_t() {
units = 0;
netto = brutto = vat_percentage = vat = 0.0;
}
};
enum class PERMIT_TYPE : quint8 {