Make clearer when user is created. Make sure clear logs button clicks.
This commit is contained in:
@@ -73,4 +73,6 @@ void AdminInterface::addClicked()
|
|||||||
|
|
||||||
//Add user
|
//Add user
|
||||||
app->createUser(&sqlSession, usernameField->text().toUTF8(), passwordField->text().toUTF8(), false);
|
app->createUser(&sqlSession, usernameField->text().toUTF8(), passwordField->text().toUTF8(), false);
|
||||||
|
usernameField->setText("created user");
|
||||||
|
passwordField->setText("");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ UploadInterface::UploadInterface(WebInterface* app)
|
|||||||
this->setLayout(mainLayout);
|
this->setLayout(mainLayout);
|
||||||
mainLayout->addWidget(clearLogs);
|
mainLayout->addWidget(clearLogs);
|
||||||
mainLayout->addWidget(logs);
|
mainLayout->addWidget(logs);
|
||||||
|
clearLogs->clicked().connect(this, &UploadInterface::clearLogsClicked);
|
||||||
}
|
}
|
||||||
|
|
||||||
UploadInterface::~UploadInterface()
|
UploadInterface::~UploadInterface()
|
||||||
|
|||||||
Reference in New Issue
Block a user