src/MainWindow.h

changeset 68
abac28effb21
parent 65
2ef981980daa
child 74
4ac38457a709
--- 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;

mercurial