1
0
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:
tux3 2015-10-24 02:46:34 +02:00
parent 8f7214f383
commit aaf04a80db
No known key found for this signature in database
GPG Key ID: 7E086DD661263264
2 changed files with 0 additions and 8 deletions

View File

@ -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);

View File

@ -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();
} }
} }