diff -r 55aa8c3146ee -r abac28effb21 src/MainWindow.h --- a/src/MainWindow.h Sun Mar 20 14:08:05 2022 +0100 +++ b/src/MainWindow.h Sun Mar 20 15:51:09 2022 +0100 @@ -31,7 +31,14 @@ explicit MainWindow(QWidget *parent = 0); ~MainWindow(); + // Keep pointers to new windows. InventorySuppliers *InventorySuppliersWindow; + InventoryFermentables *InventoryFermentablesWindow; + InventoryHops *InventoryHopsWindow; + InventoryYeasts *InventoryYeastsWindow; + InventoryMiscs *InventoryMiscsWindow; + InventoryWaters *InventoryWatersWindow; + InventoryEquipments *InventoryEquipmentsWindow; private slots: void on_actionExit_triggered(); @@ -69,12 +76,6 @@ Ui::MainWindow *ui; // Keep pointers to new windows. - InventoryFermentables *InventoryFermentablesWindow; - InventoryHops *InventoryHopsWindow; - InventoryYeasts *InventoryYeastsWindow; - InventoryMiscs *InventoryMiscsWindow; - InventoryWaters *InventoryWatersWindow; - InventoryEquipments *InventoryEquipmentsWindow; ProfileWaters *ProfileWatersWindow; ProfileMashs *ProfileMashsWindow; ProfileStyles *ProfileStylesWindow;