diff options
author | Timothy Pearson <[email protected]> | 2012-02-18 16:07:00 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-02-18 16:07:00 -0600 |
commit | 866f81ea56390a33df7e6b97116737b3324841ca (patch) | |
tree | 8a8d237352f908f1057cecec8847255c432edb2e | |
parent | c3ac56c187138da7b2bed1a16d0a82656e306986 (diff) | |
download | tdebase-866f81ea56390a33df7e6b97116737b3324841ca.tar.gz tdebase-866f81ea56390a33df7e6b97116737b3324841ca.zip |
Fix another FTBFS when both upower and hal are enabled
-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 } |