mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Remove some debug output
This commit is contained in:
parent
8f7214f383
commit
aaf04a80db
|
@ -17,8 +17,6 @@ ToxCall::ToxCall(uint32_t CallId)
|
|||
: sendAudioTimer{new QTimer}, callId{CallId},
|
||||
inactive{true}, muteMic{false}, muteVol{false}, alSource{0}
|
||||
{
|
||||
qCritical() << "CREATED CALL "<<callId;
|
||||
|
||||
sendAudioTimer->setInterval(5);
|
||||
sendAudioTimer->setSingleShot(true);
|
||||
|
||||
|
@ -54,9 +52,6 @@ ToxCall::ToxCall(ToxCall&& other)
|
|||
|
||||
ToxCall::~ToxCall()
|
||||
{
|
||||
if (callId != (uint32_t)(int32_t)-1)
|
||||
qCritical() << "DELETED CALL "<<callId;
|
||||
|
||||
if (sendAudioTimer)
|
||||
{
|
||||
QObject::disconnect(sendAudioTimer, nullptr, nullptr, nullptr);
|
||||
|
|
|
@ -86,7 +86,6 @@ public:
|
|||
protected:
|
||||
void resizeEvent(QResizeEvent* event) final override
|
||||
{
|
||||
qDebug() << "Resize!";
|
||||
updateSize();
|
||||
QWidget::resizeEvent(event);
|
||||
}
|
||||
|
@ -94,13 +93,11 @@ protected:
|
|||
private slots:
|
||||
void updateSize()
|
||||
{
|
||||
qDebug() << videoSurface->isExpanding();
|
||||
if (videoSurface->isExpanding())
|
||||
{
|
||||
int width = videoSurface->height() * videoSurface->getRatio();
|
||||
videoSurface->setMinimumWidth(width);
|
||||
videoSurface->setMaximumWidth(width);
|
||||
qDebug() << videoSurface->minimumWidth();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user