VirtualBox

儲存庫 vbox 的更動 12124


忽略:
時間撮記:
2008-9-5 上午11:39:41 (16 年 以前)
作者:
vboxsync
訊息:

FE/Qt4: Process events *must* be called after any usage of the editor var,
cause this call close the editor which leads in an invalid ptr.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxVMSettingsHD.cpp

    r12036 r12124  
    676676        editor->tryToChooseUniqueVdi (vdis);
    677677
     678        /* Ask the user for method to add new vdi */
     679        int result = mModel->rowCount() - 1 > editor->count() ?
     680            vboxProblem().confirmRunNewHDWzdOrVDM (this) :
     681            QIMessageBox::Cancel;
     682
    678683        /* Move the focus to the other than attachment table location.
    679684         * This will close the temporary editor of this table to prevent
     
    682687        qApp->processEvents();
    683688
    684         /* Ask the user for method to add new vdi */
    685         int result = mModel->rowCount() - 1 > editor->count() ?
    686             vboxProblem().confirmRunNewHDWzdOrVDM (this) :
    687             QIMessageBox::Cancel;
    688689        if (result == QIMessageBox::Yes)
    689690        {
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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