Fix Tabs
This commit is contained in:
5
main.cpp
5
main.cpp
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user