UI: Call setWindowFlags before setupUi
For some reason this has a noticeable performance improvement, presumably because Qt is notifying all the child widgets?
This commit is contained in:
parent
eba6810423
commit
5cfc16e9f9
5 changed files with 12 additions and 11 deletions
|
|
@ -318,10 +318,10 @@ OBSBasicSettings::OBSBasicSettings(QWidget *parent)
|
|||
|
||||
EnableThreadedMessageBoxes(true);
|
||||
|
||||
ui->setupUi(this);
|
||||
|
||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
|
||||
ui->setupUi(this);
|
||||
|
||||
main->EnableOutputs(false);
|
||||
|
||||
PopulateAACBitrates({ui->simpleOutputABitrate, ui->advOutTrack1Bitrate,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue