Browse Source

Remove some debug output

pull/2476/head
tux3 10 years ago
parent
commit
aaf04a80db
No known key found for this signature in database
GPG Key ID: 7E086DD661263264
  1. 5
      src/core/toxcall.cpp
  2. 3
      src/video/groupnetcamview.cpp

5
src/core/toxcall.cpp

@ -17,8 +17,6 @@ ToxCall::ToxCall(uint32_t CallId) @@ -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) @@ -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);

3
src/video/groupnetcamview.cpp

@ -86,7 +86,6 @@ public: @@ -86,7 +86,6 @@ public:
protected:
void resizeEvent(QResizeEvent* event) final override
{
qDebug() << "Resize!";
updateSize();
QWidget::resizeEvent(event);
}
@ -94,13 +93,11 @@ protected: @@ -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…
Cancel
Save