Commit 4f3e3d74 authored by Kevin Whitaker's avatar Kevin Whitaker

Make clearer when user is created. Make sure clear logs button clicks.

parent 89928751
......@@ -73,4 +73,6 @@ void AdminInterface::addClicked()
//Add user
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);
mainLayout->addWidget(clearLogs);
mainLayout->addWidget(logs);
clearLogs->clicked().connect(this, &UploadInterface::clearLogsClicked);
}
UploadInterface::~UploadInterface()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment