delete dlg;
}
-#ifdef USE_JOGSHUTTLE
void KdenliveSettingsDialog::slotCheckShuttle(int state)
{
- m_configShuttle.config_group->setEnabled(state);
+#ifdef USE_JOGSHUTTLE
+ m_configShuttle.config_group->setEnabled(state);
if (m_configShuttle.shuttledevicelist->count() == 0) {
// parse devices
QString baseName = "/dev/input/event";
}
if (KdenliveSettings::shuttledevice().isEmpty()) QTimer::singleShot(1500, this, SLOT(slotUpdateShuttleDevice()));
}
+#endif /* USE_JOGSHUTTLE */
}
void KdenliveSettingsDialog::slotUpdateShuttleDevice(int ix)
{
+#ifdef USE_JOGSHUTTLE
QString device = m_configShuttle.shuttledevicelist->itemData(ix).toString();
//KdenliveSettings::setShuttledevice(device);
m_configShuttle.kcfg_shuttledevice->setText(device);
-}
-
#endif /* USE_JOGSHUTTLE */
+}
void KdenliveSettingsDialog::updateWidgets()
{
private slots:
void slotUpdateDisplay();
-#ifdef USE_JOGSHUTTLE
void slotCheckShuttle(int state = 0);
void slotUpdateShuttleDevice(int ix = 0);
-#endif
void slotEditImageApplication();
void slotEditAudioApplication();
void slotEditVideoApplication();