extend default long press timeout
parent
575203aeaf
commit
49dd8b0670
|
|
@ -293,7 +293,7 @@ void DevicePluginSenic::onPluginConfigurationChanged(const ParamTypeId ¶mTyp
|
|||
}
|
||||
|
||||
if (paramTypeId == senicPluginLongPressTimeParamTypeId) {
|
||||
qCDebug(dcSenic()) << "Long press time" << value.toUInt();
|
||||
qCDebug(dcSenic()) << "Long press time" << value.toInt();
|
||||
foreach(Nuimo *nuimo, m_nuimos.keys()) {
|
||||
nuimo->setLongPressTime(value.toInt());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
"name": "longPressTime",
|
||||
"displayName": "Long press time",
|
||||
"type": "int",
|
||||
"defaultValue": 250
|
||||
"defaultValue": 500
|
||||
}
|
||||
],
|
||||
"vendors": [
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ private:
|
|||
|
||||
uint m_rotationValue;
|
||||
QTimer *m_longPressTimer = nullptr;
|
||||
int m_longPressTime = 250;
|
||||
int m_longPressTime = 500;
|
||||
|
||||
void showMatrix(const QByteArray &matrix, const int &seconds);
|
||||
void printService(QLowEnergyService *service);
|
||||
|
|
|
|||
Loading…
Reference in New Issue