changed more pointers to smart points
This commit is contained in:
@@ -56,9 +56,10 @@ MainWindow::~MainWindow() {
|
||||
}
|
||||
|
||||
void MainWindow::WindowTraining() {
|
||||
// this->interfaceTraining = new Training(this, this->db);
|
||||
this->interfaceTraining = std::make_shared<Training>(this, this->db);
|
||||
this->interfaceTraining->show();
|
||||
{
|
||||
this->interfaceTraining = std::make_shared<Training>(this, this->db);
|
||||
this->interfaceTraining->show();
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::NewWindowSettings() {
|
||||
|
||||
Reference in New Issue
Block a user