update settings to use new model
This commit is contained in:
@@ -19,15 +19,6 @@ class OutputDialog : public QDialog {
|
||||
std::vector<OutputColumn> *columns;
|
||||
Settings *settings;
|
||||
|
||||
const std::map<std::string, ColumnType> column_names = {
|
||||
{"date", ColumnType::date},
|
||||
{"goods_name", ColumnType::goods_name},
|
||||
{"goods_price_per_unit", ColumnType::goods_price_per_unit},
|
||||
{"goods_quantity", ColumnType::goods_quantity},
|
||||
{"goods_net_weight", ColumnType::goods_net_weight},
|
||||
{"goods_total", ColumnType::goods_total}
|
||||
};
|
||||
|
||||
public:
|
||||
explicit OutputDialog(QWidget *parent = nullptr, std::vector<Check> *checks = nullptr);
|
||||
~OutputDialog();
|
||||
|
||||
Reference in New Issue
Block a user