diff options
Diffstat (limited to 'ksmserver')
-rw-r--r-- | ksmserver/shutdowndlg.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ksmserver/shutdowndlg.cpp b/ksmserver/shutdowndlg.cpp index 99ac8a5ff..f0f33a459 100644 --- a/ksmserver/shutdowndlg.cpp +++ b/ksmserver/shutdowndlg.cpp @@ -1028,6 +1028,9 @@ KSMShutdownDlg::KSMShutdownDlg( TQWidget* parent, KSMShutdownDlg::~KSMShutdownDlg() { +#ifdef WITH_UPOWER +#else // WITH_UPOWER + #ifdef COMPILE_HALBACKEND if (m_halCtx) { @@ -1037,6 +1040,8 @@ KSMShutdownDlg::~KSMShutdownDlg() libhal_ctx_free(m_halCtx); } #endif + +#endif // WITH_UPOWER } |