Changeset b8a2a118c4 in tspsg for src/qtwin.cpp
- Timestamp:
- Dec 21, 2010, 2:28:51 PM (13 years ago)
- Branches:
- 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- bfe1e5e2ea
- Parents:
- 9eb63a1598
- git-author:
- Oleksii Serdiuk <contacts@…> (12/21/10 14:28:51)
- git-committer:
- Oleksii Serdiuk <contacts@…> (06/29/12 19:45:58)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/qtwin.cpp
r9eb63a1598 rb8a2a118c4 103 103 return isEnabled; 104 104 } 105 #endif106 105 return false; 106 #elif !defined(HANDHELD) 107 //! \todo TODO: Check for trsnsparency support in other OSes. 108 return true; 109 #else 110 return false; 111 #endif 107 112 } 108 113 … … 125 130 bb.dwFlags = DWM_BB_ENABLE; 126 131 bb.hRgnBlur = NULL; 132 #endif 127 133 widget->setAttribute(Qt::WA_TranslucentBackground, enable); 128 134 widget->setAttribute(Qt::WA_NoSystemBackground, enable); 135 #ifdef Q_WS_WIN 129 136 hr = pDwmEnableBlurBehindWindow(widget->winId(), &bb); 130 137 if (SUCCEEDED(hr)) {
Note: See TracChangeset
for help on using the changeset viewer.