src/RelpipeChartMainWindow.h
branchv_0
changeset 50 9008fd23fc17
parent 45 50461b01e30d
--- a/src/RelpipeChartMainWindow.h	Fri Oct 23 12:10:45 2020 +0200
+++ b/src/RelpipeChartMainWindow.h	Fri Oct 23 12:36:32 2020 +0200
@@ -49,8 +49,8 @@
 	Ui::RelpipeChartMainWindow widget;
 	QTabWidget* tabs = new QTabWidget(this);
 	QSplitter* splitter;
-	RelpipeTableModel* currentModel;
-	RelpipeChartWidget* currentChartWidget;
+	RelpipeTableModel* currentModel = nullptr;
+	RelpipeChartWidget* currentChartWidget = nullptr;
 	QLabel* status = new QLabel();
 	void setupKeyboardShortcuts();
 };