Changeset 13836 in vbox for trunk/src/VBox/Frontends/VirtualBox/ui/VBoxHardDiskSettings.ui.h
- Timestamp:
- Nov 5, 2008 2:42:54 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxHardDiskSettings.ui.h
r13580 r13836 382 382 QString text (int aColumn) const 383 383 { 384 AssertReturn (aColumn >= 0 && (size_t) aColumn < ELEMENTS (mCombos),384 AssertReturn (aColumn >= 0 && (size_t) aColumn < RT_ELEMENTS (mCombos), 385 385 QString::null); 386 386 … … 390 390 const QPixmap *pixmap (int aColumn) const 391 391 { 392 AssertReturn (aColumn >= 0 && (size_t) aColumn < ELEMENTS (mCombos),392 AssertReturn (aColumn >= 0 && (size_t) aColumn < RT_ELEMENTS (mCombos), 393 393 NULL); 394 394 … … 412 412 if (mFocusColumn >= 0) 413 413 { 414 AssertReturnVoid ((size_t) mFocusColumn < ELEMENTS (mCombos));414 AssertReturnVoid ((size_t) mFocusColumn < RT_ELEMENTS (mCombos)); 415 415 416 416 if (mCombos [mFocusColumn]->count()) … … 469 469 const QUuid &aMachineId) 470 470 { 471 AssertReturnVoid (listView()->columns() == ELEMENTS (mCombos));471 AssertReturnVoid (listView()->columns() == RT_ELEMENTS (mCombos)); 472 472 473 473 setSelectable (false); … … 502 502 int aColumn, int aWidth, int aAlign) 503 503 { 504 AssertReturnVoid (aColumn >= 0 && (size_t) aColumn < ELEMENTS (mCombos));504 AssertReturnVoid (aColumn >= 0 && (size_t) aColumn < RT_ELEMENTS (mCombos)); 505 505 506 506 QComboBox *cb = mCombos [aColumn];
Note:
See TracChangeset
for help on using the changeset viewer.