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