mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Fix buttons on OS X
This commit is contained in:
parent
eaadb4d244
commit
a2815e76f0
@ -173,8 +173,10 @@ ChatForm::ChatForm(Friend* chatFriend)
|
|||||||
sendButton->setAttribute(Qt::WA_LayoutUsesWidgetRect);
|
sendButton->setAttribute(Qt::WA_LayoutUsesWidgetRect);
|
||||||
fileButton->setAttribute(Qt::WA_LayoutUsesWidgetRect);
|
fileButton->setAttribute(Qt::WA_LayoutUsesWidgetRect);
|
||||||
emoteButton->setAttribute(Qt::WA_LayoutUsesWidgetRect);
|
emoteButton->setAttribute(Qt::WA_LayoutUsesWidgetRect);
|
||||||
callButton->setAttribute(Qt::WA_LayoutUsesWidgetRect);
|
// callButton->setAttribute(Qt::WA_LayoutUsesWidgetRect);
|
||||||
videoButton->setAttribute(Qt::WA_LayoutUsesWidgetRect);
|
// videoButton->setAttribute(Qt::WA_LayoutUsesWidgetRect);
|
||||||
|
// msgEdit->setAttribute(Qt::WA_LayoutUsesWidgetRect);
|
||||||
|
// chatArea->setAttribute(Qt::WA_LayoutUsesWidgetRect);
|
||||||
|
|
||||||
connect(Widget::getInstance()->getCore(), &Core::fileSendStarted, this, &ChatForm::startFileSend);
|
connect(Widget::getInstance()->getCore(), &Core::fileSendStarted, this, &ChatForm::startFileSend);
|
||||||
connect(Widget::getInstance()->getCore(), &Core::videoFrameReceived, netcam, &NetCamView::updateDisplay);
|
connect(Widget::getInstance()->getCore(), &Core::videoFrameReceived, netcam, &NetCamView::updateDisplay);
|
||||||
|
@ -128,6 +128,8 @@ GroupChatForm::GroupChatForm(Group* chatGroup)
|
|||||||
|
|
||||||
chatArea->setWidget(chatAreaWidget);
|
chatArea->setWidget(chatAreaWidget);
|
||||||
|
|
||||||
|
sendButton->setAttribute(Qt::WA_LayoutUsesWidgetRect);
|
||||||
|
|
||||||
connect(sendButton, SIGNAL(clicked()), this, SLOT(onSendTriggered()));
|
connect(sendButton, SIGNAL(clicked()), this, SLOT(onSendTriggered()));
|
||||||
connect(msgEdit, SIGNAL(enterPressed()), this, SLOT(onSendTriggered()));
|
connect(msgEdit, SIGNAL(enterPressed()), this, SLOT(onSendTriggered()));
|
||||||
connect(chatArea->verticalScrollBar(), SIGNAL(rangeChanged(int,int)), this, SLOT(onSliderRangeChanged()));
|
connect(chatArea->verticalScrollBar(), SIGNAL(rangeChanged(int,int)), this, SLOT(onSliderRangeChanged()));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user