diff options
Diffstat (limited to 'src/hidsrvwizard.ui.h')
-rw-r--r-- | src/hidsrvwizard.ui.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hidsrvwizard.ui.h b/src/hidsrvwizard.ui.h index a9ab197..47d4ef0 100644 --- a/src/hidsrvwizard.ui.h +++ b/src/hidsrvwizard.ui.h @@ -58,8 +58,8 @@ void HidSrvWizard::localWeb_toggled( bool state) if (state){ const char *paths = ":/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin"; thttpd = getFullLocation(paths,"thttpd"); - - if (thttpd) + + if (!thttpd.isEmpty()) setAppropriate ( LocalWebService, !state ); else setAppropriate ( LocalWebService, state ); |