mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge branch 'pr1477' into back_in_the_game
This commit is contained in:
commit
96e0f0d502
|
@ -50,6 +50,7 @@
|
|||
#include <QClipboard>
|
||||
#include <QThread>
|
||||
#include <QDialogButtonBox>
|
||||
#include <QShortcut>
|
||||
#include <QTimer>
|
||||
#include <QStyleFactory>
|
||||
#include <QTranslator>
|
||||
|
@ -197,6 +198,9 @@ void Widget::init()
|
|||
connect(timer, &QTimer::timeout, this, &Widget::onTryCreateTrayIcon);
|
||||
connect(offlineMsgTimer, &QTimer::timeout, this, &Widget::processOfflineMsgs);
|
||||
|
||||
// keyboard shortcuts
|
||||
new QShortcut(Qt::CTRL + Qt::Key_Q, this, SLOT(close()));
|
||||
|
||||
addFriendForm->show(*ui);
|
||||
|
||||
connect(settingsWidget, &SettingsWidget::groupchatPositionToggled, contactListWidget, &FriendListWidget::onGroupchatPositionChanged);
|
||||
|
|
Loading…
Reference in New Issue
Block a user