Changeset 19073 in vbox
- Timestamp:
- Apr 21, 2009 12:56:11 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 46210
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/QILineEdit.cpp
r18905 r19073 28 28 #if defined (Q_WS_WIN32) 29 29 #include <QWindowsVistaStyle> 30 #include <QLibrary> 30 31 #endif 31 32 … … 61 62 * non-existing combo-box button of 23 pix in width. So fixing it here: */ 62 63 if (qobject_cast <QWindowsVistaStyle*> (style())) 63 sa -= QSize (23, 0); 64 { 65 /* Check if l&f style theme is really active else painting performed by 66 * Windows Classic theme and there is no such shifting error. */ 67 typedef bool (*IsAppThemedFunction)(); 68 IsAppThemedFunction isAppThemed = 69 (IsAppThemedFunction) QLibrary::resolve ("uxtheme", "IsAppThemed"); 70 if (isAppThemed && isAppThemed()) sa -= QSize (23, 0); 71 } 64 72 #endif 65 73
Note:
See TracChangeset
for help on using the changeset viewer.