Changeset 104358 in vbox for trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIMediumSizeEditor.cpp
- Timestamp:
- Apr 18, 2024 5:33:40 AM (13 months ago)
- svn:sync-xref-src-repo-rev:
- 162846
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIMediumSizeEditor.cpp
r103771 r104358 38 38 #include "UIMediumSizeEditor.h" 39 39 #include "UITranslator.h" 40 #include "UITranslationEventListener.h" 40 41 41 42 /* COM includes: */ … … 46 47 47 48 UIMediumSizeEditor::UIMediumSizeEditor(QWidget *pParent, qulonglong uMinimumSize /* = _4M */) 48 : Q IWithRetranslateUI<QWidget>(pParent)49 : QWidget(pParent) 49 50 , m_uSizeMin(uMinimumSize) 50 51 , m_uSizeMax(gpGlobalSession->virtualBox().GetSystemProperties().GetInfoVDSize()) … … 77 78 } 78 79 79 void UIMediumSizeEditor:: retranslateUi()80 void UIMediumSizeEditor::sltRetranslateUI() 80 81 { 81 82 /* Translate labels: */ … … 210 211 211 212 /* Apply language settings: */ 212 retranslateUi(); 213 sltRetranslateUI(); 214 connect(&translationEventListener(), &UITranslationEventListener::sigRetranslateUI, 215 this, &UIMediumSizeEditor::sltRetranslateUI); 213 216 } 214 217
Note:
See TracChangeset
for help on using the changeset viewer.