mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Fix #674
This commit is contained in:
parent
741c9771ea
commit
4959d8833a
|
@ -70,13 +70,13 @@ void Widget::init()
|
||||||
icon->setIcon(this->windowIcon());
|
icon->setIcon(this->windowIcon());
|
||||||
trayMenu = new QMenu;
|
trayMenu = new QMenu;
|
||||||
|
|
||||||
statusOnline = new QAction(tr("online"), this);
|
statusOnline = new QAction(tr("Online"), this);
|
||||||
statusOnline->setIcon(QIcon(":ui/statusButton/dot_online.png"));
|
statusOnline->setIcon(QIcon(":ui/statusButton/dot_online.png"));
|
||||||
connect(statusOnline, SIGNAL(triggered()), this, SLOT(setStatusOnline()));
|
connect(statusOnline, SIGNAL(triggered()), this, SLOT(setStatusOnline()));
|
||||||
statusAway = new QAction(tr("away"), this);
|
statusAway = new QAction(tr("Away"), this);
|
||||||
statusAway->setIcon(QIcon(":ui/statusButton/dot_idle.png"));
|
statusAway->setIcon(QIcon(":ui/statusButton/dot_idle.png"));
|
||||||
connect(statusAway, SIGNAL(triggered()), this, SLOT(setStatusAway()));
|
connect(statusAway, SIGNAL(triggered()), this, SLOT(setStatusAway()));
|
||||||
statusBusy = new QAction(tr("busy"), this);
|
statusBusy = new QAction(tr("Busy"), this);
|
||||||
connect(statusBusy, SIGNAL(triggered()), this, SLOT(setStatusBusy()));
|
connect(statusBusy, SIGNAL(triggered()), this, SLOT(setStatusBusy()));
|
||||||
statusBusy->setIcon(QIcon(":ui/statusButton/dot_busy.png"));
|
statusBusy->setIcon(QIcon(":ui/statusButton/dot_busy.png"));
|
||||||
actionQuit = new QAction(tr("&Quit"), this);
|
actionQuit = new QAction(tr("&Quit"), this);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user