mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 15:29:05 +02:00
formatting and cleanups
This commit is contained in:
parent
4377105410
commit
8e64417607
2 changed files with 0 additions and 4 deletions
|
@ -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));
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue