mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
18 lines
307 B
C++
18 lines
307 B
C++
|
#include "widget.h"
|
||
|
#include <QApplication>
|
||
|
|
||
|
int main(int argc, char *argv[])
|
||
|
{
|
||
|
QApplication a(argc, argv);
|
||
|
a.setApplicationName("Toxgui");
|
||
|
a.setOrganizationName("Tox");
|
||
|
Widget* w = Widget::getInstance();
|
||
|
w->show();
|
||
|
|
||
|
int errorcode = a.exec();
|
||
|
|
||
|
delete w;
|
||
|
|
||
|
return errorcode;
|
||
|
}
|