VirtualBox

Changeset 103915 in vbox


Ignore:
Timestamp:
Mar 19, 2024 12:34:07 PM (11 months ago)
Author:
vboxsync
Message:

FE/Qt. bugref:10622. Removing retranslate stuff from UISoftKeyboard since it was not needed.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/softkeyboard
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/softkeyboard/UISoftKeyboard.cpp

    r103869 r103915  
    39863986UISoftKeyboard::UISoftKeyboard(QWidget *pParent, UIMachine *pMachine,
    39873987                               QWidget *pCenterWidget, QString strMachineName /* = QString() */)
    3988     : QMainWindowWithRestorableGeometryAndRetranslateUi(pParent)
     3988    : QMainWindowWithRestorableGeometry(pParent)
    39893989    , m_pMachine(pMachine)
    39903990    , m_pCenterWidget(pCenterWidget)
     
    40134013    loadSettings();
    40144014    configure();
    4015     retranslateUi();
    40164015    uiCommon().setHelpKeyword(this, "soft-keyb");
    4017 }
    4018 
    4019 void UISoftKeyboard::retranslateUi()
    4020 {
    40214016}
    40224017
     
    40824077    }
    40834078
    4084     return QMainWindowWithRestorableGeometryAndRetranslateUi::event(pEvent);
     4079    return QMainWindowWithRestorableGeometry::event(pEvent);
    40854080}
    40864081
     
    43204315    m_pStatusBarWidget = new UISoftKeyboardStatusBarWidget;
    43214316    statusBar()->addPermanentWidget(m_pStatusBarWidget);
    4322 
    4323     retranslateUi();
    43244317}
    43254318
  • trunk/src/VBox/Frontends/VirtualBox/src/softkeyboard/UISoftKeyboard.h

    r103869 r103915  
    3737/* GUI includes: */
    3838#include "QIWithRestorableGeometry.h"
    39 #include "QIWithRetranslateUI.h"
    4039
    4140/* Forward declarations: */
     
    5453/* Type definitions: */
    5554typedef QIWithRestorableGeometry<QMainWindow> QMainWindowWithRestorableGeometry;
    56 typedef QIWithRetranslateUI<QMainWindowWithRestorableGeometry> QMainWindowWithRestorableGeometryAndRetranslateUi;
    5755
    58 class UISoftKeyboard : public QMainWindowWithRestorableGeometryAndRetranslateUi
     56class UISoftKeyboard : public QMainWindowWithRestorableGeometry
    5957{
    6058    Q_OBJECT;
     
    7169protected:
    7270
    73     virtual void retranslateUi() RT_OVERRIDE;
    7471    virtual bool shouldBeMaximized() const RT_OVERRIDE;
    7572    virtual void closeEvent(QCloseEvent *event) RT_OVERRIDE;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette