formatting and cleanups

This commit is contained in:
Seth Alves 2015-02-02 12:21:46 -08:00
parent 4377105410
commit 8e64417607
2 changed files with 0 additions and 4 deletions

View file

@ -107,8 +107,6 @@ void DatagramProcessor::processDatagrams() {
if (avatarMixer) { if (avatarMixer) {
avatarMixer->setLastHeardMicrostamp(usecTimestampNow()); avatarMixer->setLastHeardMicrostamp(usecTimestampNow());
// avatarMixer->recordBytesReceived(incomingPacket.size());
QMetaObject::invokeMethod(&application->getAvatarManager(), "processAvatarMixerDatagram", QMetaObject::invokeMethod(&application->getAvatarManager(), "processAvatarMixerDatagram",
Q_ARG(const QByteArray&, incomingPacket), Q_ARG(const QByteArray&, incomingPacket),
Q_ARG(const QWeakPointer<Node>&, avatarMixer)); Q_ARG(const QWeakPointer<Node>&, avatarMixer));

View file

@ -118,14 +118,12 @@ void BandwidthDialog::paintEvent(QPaintEvent* event) {
this->setFixedSize(this->width(), this->height()); this->setFixedSize(this->width(), this->height());
} }
void BandwidthDialog::reject() { void BandwidthDialog::reject() {
// Just regularly close upon ESC // Just regularly close upon ESC
this->QDialog::close(); this->QDialog::close();
} }
void BandwidthDialog::closeEvent(QCloseEvent* event) { void BandwidthDialog::closeEvent(QCloseEvent* event) {
this->QDialog::closeEvent(event); this->QDialog::closeEvent(event);