mirror of
https://gitlab.com/comunic/comunicmessages
synced 2024-12-04 19:24:11 +00:00
23 lines
451 B
C++
23 lines
451 B
C++
/**
|
|
* @author Pierre HUBERT
|
|
*/
|
|
|
|
#include <QApplication>
|
|
|
|
#include "helpers/accounthelper.h"
|
|
#include "widgets/loginwidget.h"
|
|
|
|
int main(int argc, char** argv){
|
|
QApplication app(argc, argv);
|
|
|
|
//Determine whether user is signed in or not
|
|
if(AccountHelper().signedIn())
|
|
qFatal("Can not handle signed in users yet!");
|
|
else {
|
|
LoginWidget *widget = new LoginWidget();
|
|
widget->show();
|
|
}
|
|
|
|
return app.exec();
|
|
}
|