Commit f8efa6b7 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Patch from Andrey Legayev

Add #ifndef QT_NO_SYSTEMTRAYICON to KleopatraApplication::~Private()

I've found that class member `sysTray` is not created if QT_NO_SYSTEMTRAYICON defined: see it in [[>
I've added the same pre-processing macros for delete statement to prevent compilation error.

Test Plan: Try to compile with QT_NO_SYSTEMTRAYICON - it should proceed without errors.

Reviewers: mlaurent

Reviewed By: mlaurent

Subscribers: kde-pim

Tags: #kde_pim, #kde_pim_kleopatra

Differential Revision:
parent c58f5da9
......@@ -108,7 +108,9 @@ public:
~Private() {
delete sysTray;
void init()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment