Replace boost::optional with std::optional (#4877)
This commit is contained in:
@@ -70,7 +70,7 @@ void FramelessEmbedWindow::showEvent(QShowEvent *)
|
||||
}
|
||||
|
||||
if (auto parentHwnd =
|
||||
reinterpret_cast<HWND>(getArgs().parentWindowId.get()))
|
||||
reinterpret_cast<HWND>(getArgs().parentWindowId.value()))
|
||||
{
|
||||
auto handle = reinterpret_cast<HWND>(this->winId());
|
||||
if (!::SetParent(handle, parentHwnd))
|
||||
|
||||
Reference in New Issue
Block a user