mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:43:50 +02:00
Control bandwidth stats dialog sizing similarly
This commit is contained in:
parent
4cb5ccab90
commit
568e5536b8
1 changed files with 2 additions and 2 deletions
|
@ -72,8 +72,9 @@ BandwidthDialog::BandwidthDialog(QWidget* parent) :
|
|||
|
||||
this->setWindowTitle("Bandwidth Details");
|
||||
|
||||
// Create layouter
|
||||
// Create layout
|
||||
QFormLayout* form = new QFormLayout();
|
||||
form->setSizeConstraint(QLayout::SetFixedSize);
|
||||
this->QDialog::setLayout(form);
|
||||
|
||||
QSharedPointer<BandwidthRecorder> bandwidthRecorder = DependencyManager::get<BandwidthRecorder>();
|
||||
|
@ -118,7 +119,6 @@ void BandwidthDialog::paintEvent(QPaintEvent* event) {
|
|||
for (unsigned int i=0; i<_CHANNELCOUNT; i++)
|
||||
_allChannelDisplays[i]->paint();
|
||||
this->QDialog::paintEvent(event);
|
||||
this->setFixedSize(this->width(), this->height());
|
||||
}
|
||||
|
||||
void BandwidthDialog::reject() {
|
||||
|
|
Loading…
Reference in a new issue