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},
|
: sendAudioTimer{new QTimer}, callId{CallId},
|
||||||
inactive{true}, muteMic{false}, muteVol{false}, alSource{0}
|
inactive{true}, muteMic{false}, muteVol{false}, alSource{0}
|
||||||
{
|
{
|
||||||
qCritical() << "CREATED CALL "<<callId;
|
|
||||||
|
|
||||||
sendAudioTimer->setInterval(5);
|
sendAudioTimer->setInterval(5);
|
||||||
sendAudioTimer->setSingleShot(true);
|
sendAudioTimer->setSingleShot(true);
|
||||||
|
|
||||||
|
@ -54,9 +52,6 @@ ToxCall::ToxCall(ToxCall&& other)
|
||||||
|
|
||||||
ToxCall::~ToxCall()
|
ToxCall::~ToxCall()
|
||||||
{
|
{
|
||||||
if (callId != (uint32_t)(int32_t)-1)
|
|
||||||
qCritical() << "DELETED CALL "<<callId;
|
|
||||||
|
|
||||||
if (sendAudioTimer)
|
if (sendAudioTimer)
|
||||||
{
|
{
|
||||||
QObject::disconnect(sendAudioTimer, nullptr, nullptr, nullptr);
|
QObject::disconnect(sendAudioTimer, nullptr, nullptr, nullptr);
|
||||||
|
|
|
@ -86,7 +86,6 @@ public:
|
||||||
protected:
|
protected:
|
||||||
void resizeEvent(QResizeEvent* event) final override
|
void resizeEvent(QResizeEvent* event) final override
|
||||||
{
|
{
|
||||||
qDebug() << "Resize!";
|
|
||||||
updateSize();
|
updateSize();
|
||||||
QWidget::resizeEvent(event);
|
QWidget::resizeEvent(event);
|
||||||
}
|
}
|
||||||
|
@ -94,13 +93,11 @@ protected:
|
||||||
private slots:
|
private slots:
|
||||||
void updateSize()
|
void updateSize()
|
||||||
{
|
{
|
||||||
qDebug() << videoSurface->isExpanding();
|
|
||||||
if (videoSurface->isExpanding())
|
if (videoSurface->isExpanding())
|
||||||
{
|
{
|
||||||
int width = videoSurface->height() * videoSurface->getRatio();
|
int width = videoSurface->height() * videoSurface->getRatio();
|
||||||
videoSurface->setMinimumWidth(width);
|
videoSurface->setMinimumWidth(width);
|
||||||
videoSurface->setMaximumWidth(width);
|
videoSurface->setMaximumWidth(width);
|
||||||
qDebug() << videoSurface->minimumWidth();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user