VirtualBox

Changeset 14670 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Nov 27, 2008 12:11:04 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
39980
Message:

FE/Qt4: Emit vmListViewCurrentChanged() after setting the current item at Selector startup which fixed an ancient problem where the Welcome screen flashed for a second if the stored VM selection was the first item in the list.

Location:
trunk/src/VBox/Frontends/VirtualBox4/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxSelectorWnd.cpp

    r14652 r14670  
    623623    /* Update the list */
    624624    refreshVMList();
     625
    625626    /* Reset to the first item */
    626627    mVMListView->selectItemByRow (0);
     628
    627629    /* restore the position of vm selector */
    628630    {
     
    632634        mVMListView->selectItemById (QUuid (prevVMId));
    633635    }
     636
     637    /* refresh the details et all (necessary for the case when the stored
     638     * selection is still the first list item) */
     639    vmListViewCurrentChanged();
    634640
    635641    /* signals and slots connections */
  • trunk/src/VBox/Frontends/VirtualBox4/src/main.cpp

    r14652 r14670  
    378378            else
    379379            {
    380                 /* pre-populate the media list before showing the main widget */
    381                 vboxGlobal().startEnumeratingMedia();
    382380                vboxGlobal().setMainWindow (&vboxGlobal().selectorWnd());
    383381#ifdef VBOX_GUI_WITH_SYSTRAY
Note: See TracChangeset for help on using the changeset viewer.

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