Fix uninitialized variable

Spotted by Coverity scan.
This commit is contained in:
Jean-Marc Lasgouttes 2024-09-13 11:21:19 +02:00
parent 9f40eaee15
commit ffca6730d6
2 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ struct GuiWorkArea::Private
QTransform item_trans_;
bool item_trans_needs_reset_ = false;
/// for debug
QLocale::Language im_lang_;
QLocale::Language im_lang_ = QLocale::AnyLanguage;
/// Ratio between physical pixels and device-independent pixels
/// We save the last used value to detect changes of the