mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
Merge pull request #501 from boombatower/gcc48
UI: Fix GCC 4.8 compilation issue
This commit is contained in:
@@ -407,7 +407,7 @@ void OBSBasic::CreateProgramDisplay()
|
||||
ResizeProgram(ovi.base_width, ovi.base_height);
|
||||
};
|
||||
|
||||
connect(program, &OBSQTDisplay::DisplayResized,
|
||||
connect(program.data(), &OBSQTDisplay::DisplayResized,
|
||||
displayResize);
|
||||
|
||||
auto addDisplay = [this] (OBSQTDisplay *window)
|
||||
@@ -420,7 +420,7 @@ void OBSBasic::CreateProgramDisplay()
|
||||
ResizeProgram(ovi.base_width, ovi.base_height);
|
||||
};
|
||||
|
||||
connect(program, &OBSQTDisplay::DisplayCreated, addDisplay);
|
||||
connect(program.data(), &OBSQTDisplay::DisplayCreated, addDisplay);
|
||||
|
||||
program->setSizePolicy(QSizePolicy::Expanding,
|
||||
QSizePolicy::Expanding);
|
||||
|
||||
Reference in New Issue
Block a user