This commit is contained in:
2021-02-22 14:33:34 -05:00
parent 19bbcddd5f
commit a3cf0d1077

View File

@ -1,12 +1,10 @@
#include "main.h"
// Main sets up the Application/GUI, and tries to retrieveLogin()
int main(int argc, char *argv[]) {
QApplication app(argc,argv);
QWidget *window = new QWidget;
domainLE = new QLineEdit;
tokenUsername = new QLineEdit;
tokenCode = new QLineEdit;
@ -43,7 +41,6 @@ int main(int argc, char *argv[]) {
QObject::connect(&loginBtn, &QPushButton::released, tryLogin);
window->setLayout(vboxLayout);
window->show();
return app.exec();
@ -112,7 +109,6 @@ void saveLogin() {
std::cout << "Error writing to Wallet!" << std::endl;
}
}
void tryLogin() {
@ -133,7 +129,6 @@ void tryLogin() {
}
}
// -q, --nonInteractive Connect automatically if enough values are given on the command line.
QString command = "vmware-view -q";
if (domainLE->text().length() > 0) {