mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
25 lines
472 B
C++
25 lines
472 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;
|
|
}
|
|
|
|
/** TODO
|
|
*
|
|
* Sort the friend list by status, online first then busy then offline
|
|
* Don't do anything if a friend is disconnected, don't print to the chat
|
|
*
|
|
*/
|