Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/input/wintab/kis_tablet_support_win.cpp
Context not available. | |||||
162 | 162 | | |||
---|---|---|---|---|---|
163 | QWindowsWinTab32DLL QWindowsTabletSupport::m_winTab32DLL; | 163 | QWindowsWinTab32DLL QWindowsTabletSupport::m_winTab32DLL; | ||
164 | 164 | | |||
165 | void KisTabletSupportWin::init() | 165 | bool KisTabletSupportWin::init() | ||
166 | { | 166 | { | ||
167 | if (!QWindowsTabletSupport::m_winTab32DLL.init()) { | 167 | if (!QWindowsTabletSupport::m_winTab32DLL.init()) { | ||
168 | qWarning() << "Failed to initialize Wintab"; | 168 | qWarning() << "Failed to initialize Wintab"; | ||
169 | return; | 169 | return false; | ||
170 | } | 170 | } | ||
171 | 171 | | |||
172 | QTAB = QWindowsTabletSupport::create(); | 172 | QTAB = QWindowsTabletSupport::create(); | ||
Context not available. | |||||
177 | delete QTAB; | 177 | delete QTAB; | ||
178 | QTAB = QWindowsTabletSupport::create(); | 178 | QTAB = QWindowsTabletSupport::create(); | ||
179 | }); | 179 | }); | ||
180 | return true; | ||||
180 | } | 181 | } | ||
181 | 182 | | |||
182 | 183 | | |||
Context not available. |