Replace boost::optional with std::optional (#4877)
This commit is contained in:
@@ -273,7 +273,7 @@ void AttachedWindow::updateWindowRect(void *_attachedPtr)
|
||||
float scale = 1.f;
|
||||
if (auto dpi = getWindowDpi(attached))
|
||||
{
|
||||
scale = dpi.get() / 96.f;
|
||||
scale = *dpi / 96.f;
|
||||
|
||||
for (auto w : this->ui_.split->findChildren<BaseWidget *>())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user