VirtualBox

Changeset 22391 in vbox


Ignore:
Timestamp:
Aug 21, 2009 4:05:59 PM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4: show some special version number for bleeding edge builds

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r22356 r22391  
    195195VirtualBox_src/main.cpp_DEFS += VBOX_VERSION_STRING=\"$(VBOX_VERSION_STRING)\"
    196196VirtualBox_src/main.cpp_DEPS += $(VBOX_VERSION_MK)
     197
     198ifdef VBOX_BLEEDING_EDGE
     199VirtualBox_src/VBoxConsoleWnd.cpp_DEFS += \
     200    VBOX_VERSION_STRING=\"$(VBOX_VERSION_STRING)\" \
     201    VBOX_SVN_REV=\"$(VBOX_SVN_REV)\" \
     202    VBOX_BLEEDING_EDGE=\"$(VBOX_BLEEDING_EDGE)\"
     203VirtualBox_src/VBoxSelectorWnd.cpp_DEFS += \
     204    VBOX_VERSION_STRING=\"$(VBOX_VERSION_STRING)\" \
     205    VBOX_SVN_REV=\"$(VBOX_SVN_REV)\" \
     206    VBOX_BLEEDING_EDGE=\"$(VBOX_BLEEDING_EDGE)\"
     207VirtualBox_src/VBoxAboutDlg.cpp_DEFS += \
     208    VBOX_BLEEDING_EDGE=\"$(VBOX_BLEEDING_EDGE)\"
     209VirtualBox_src/VBoxConsoleWnd.cpp_DEPS += $(VBOX_VERSION_MK) $(VBOX_SVN_REV_KMK)
     210VirtualBox_src/VBoxSelectorWnd.cpp_DEPS += $(VBOX_VERSION_MK) $(VBOX_SVN_REV_KMK)
     211endif
    197212
    198213VirtualBox_INCS           = \
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxAboutDlg.cpp

    r18829 r22391  
    4747    setWindowTitle (tr ("VirtualBox - About"));
    4848    QString aboutText =  tr ("VirtualBox Graphical User Interface");
     49#ifdef VBOX_BLEEDING_EDGE
     50    QString versionText = "EXPERIMENTAL build %1 - " + QString(VBOX_BLEEDING_EDGE);
     51#else
    4952    QString versionText = tr ("Version %1");
     53#endif
    5054#if VBOX_OSE
    5155    mAboutText = aboutText + " " + versionText.arg (mVersion) + "\n" +
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp

    r22157 r22391  
    16431643#endif
    16441644
     1645#ifdef VBOX_BLEEDING_EDGE
     1646    caption_prefix += QString(" EXPERIMENTAL build "VBOX_VERSION_STRING" r"VBOX_SVN_REV" - "VBOX_BLEEDING_EDGE);
     1647#endif
    16451648    /*
    16461649     *  Note: All action shortcuts should be added to the menu text in the
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxSelectorWnd.cpp

    r22173 r22391  
    12861286{
    12871287#ifdef VBOX_OSE
    1288     setWindowTitle (tr ("VirtualBox OSE"));
     1288    QString title (tr ("VirtualBox OSE"));
    12891289#else
    1290     setWindowTitle (tr ("Sun VirtualBox"));
     1290    QString title (tr ("Sun VirtualBox"));
    12911291#endif
     1292
     1293#ifdef VBOX_BLEEDING_EDGE
     1294    title += QString(" EXPERIMENTAL build "VBOX_VERSION_STRING" r"VBOX_SVN_REV" - "VBOX_BLEEDING_EDGE);
     1295#endif
     1296
     1297    setWindowTitle (title);
    12921298
    12931299    mVmTabWidget->setTabText (mVmTabWidget->indexOf (mVmDetailsView), tr ("&Details"));
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