Removed all QT5 switches

Former-commit-id: 7a481a921d572e4c0eccebfb1ba3abbab61d25fc
This commit is contained in:
ntim 2016-01-18 10:41:45 +01:00
parent 83c92703eb
commit 6b860a7e24
1 changed files with 0 additions and 8 deletions

View File

@ -200,25 +200,17 @@ int LedDevicePhilipsHue::write(const std::vector<ColorRgb> & ledValues) {
// Next light id.
idx++;
}
#ifdef ENABLE_QT5
#else
timer.start();
#endif
return 0;
}
int LedDevicePhilipsHue::switchOff() {
#ifdef ENABLE_QT5
#else
timer.stop();
// If light states have been saved before, ...
if (areStatesSaved()) {
// ... restore them.
restoreStates();
}
#endif
return 0;
}