Hello, my application crash when I install the translator (in Arabic, layout rightToLeft) before creating the toolbar. it crash on :
group->AddAction(QToolButton::DelayedPopup, ui.actionAddImage);
After digging in the code I found a null screen has been returned in GetScaleFactor . removing the else, by changing the function as follow has fix the problem:
Hello, my application crash when I install the translator (in Arabic, layout rightToLeft) before creating the toolbar. it crash on :
group->AddAction(QToolButton::DelayedPopup, ui.actionAddImage);
After digging in the code I found a null screen has been returned in GetScaleFactor . removing the else, by changing the function as follow has fix the problem:
I am running on Qt 5.14, MSVC 2019 on Windows 10.