Commit 2cca0a6f authored by Dmitry Kazakov's avatar Dmitry Kazakov

Remove assert in the tablet support code

It seems the number of table axes mappings can be arbitrary in the
driver. That is it can be smaller, the same or bigger than the number
of known axes types.

parent 53f9db83
......@@ -123,7 +123,8 @@ struct QTabletDeviceData
void tryFetchAxesMapping(XDevice *dev);
void setAxesMap(const QVector<AxesIndexes> &axesMap) {
KIS_ASSERT_RECOVER_RETURN(axesMap.size() >= NAxes);
// the size of \p axesMap can be smaller/equal/bigger
// than m_axes_data. Everything depends on the driver
m_x11_to_local_axis_mapping = axesMap;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment