Changeset 51406 in vbox
- Timestamp:
- May 26, 2014 5:28:21 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 93935
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/globals
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIIconPool.cpp
r51267 r51406 26 26 /* Other VBox includes: */ 27 27 #include <iprt/assert.h> 28 29 /* static */ 30 QPixmap UIIconPool::pixmap(const QString &strName) 31 { 32 /* Reuse iconSet API: */ 33 QIcon icon = iconSet(strName); 34 35 /* Return pixmap of first available size: */ 36 return icon.pixmap(icon.availableSizes().first()); 37 } 28 38 29 39 /* static */ -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIIconPool.h
r51267 r51406 43 43 UIDefaultIconType_ArrowForward 44 44 }; 45 46 /** Creates pixmap from passed pixmap @a strName. */ 47 static QPixmap pixmap(const QString &strName); 45 48 46 49 /** Creates icon from passed pixmap names for
Note:
See TracChangeset
for help on using the changeset viewer.