- Timestamp:
- Dec 14, 2010 4:33:26 PM (14 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxLicenseViewer.cpp
r34812 r35103 34 34 #endif /* !VBOX_WITH_PRECOMPILED_HEADERS */ 35 35 36 VBoxLicenseViewer::VBoxLicenseViewer( )37 : QIWithRetranslateUI <QDialog>()36 VBoxLicenseViewer::VBoxLicenseViewer(QWidget *pParent /* = 0 */) 37 : QIWithRetranslateUI2<QDialog>(pParent) 38 38 , mLicenseText (0) 39 39 , mAgreeButton (0) -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxLicenseViewer.h
r34811 r35103 31 31 * This class is used to show a user license under linux. 32 32 */ 33 class VBoxLicenseViewer : public QIWithRetranslateUI <QDialog>33 class VBoxLicenseViewer : public QIWithRetranslateUI2<QDialog> 34 34 { 35 35 Q_OBJECT; … … 37 37 public: 38 38 39 VBoxLicenseViewer( );39 VBoxLicenseViewer(QWidget *pParent = 0); 40 40 41 41 int showLicenseFromFile(const QString &strLicenseFileName); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsExtension.cpp
r35100 r35103 166 166 { 167 167 QString strLicense = extPackFile.GetLicense(); 168 VBoxLicenseViewer licenseViewer ;168 VBoxLicenseViewer licenseViewer(pParent); 169 169 if (licenseViewer.showLicenseFromString(strLicense) != QDialog::Accepted) 170 170 return;
Note:
See TracChangeset
for help on using the changeset viewer.