Home GnuPG

Patch from Andrey Legayev

Description

Patch from Andrey Legayev

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

Summary:
I've found that class member sysTray is not created if QT_NO_SYSTEMTRAYICON defined: see it in [[ https://phabricator.kde.org/source/kleopatra/browse/master/src/kleopatraapplication.>
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: https://phabricator.kde.org/D28591

Details

Provenance
mlaurentAuthored on Apr 9 2020, 7:18 AM
Parents
rKLEOPATRAc58f5da9ba7f: Merge remote-tracking branch 'origin/release/20.04'
Branches
Unknown
Tags
Unknown

Event Timeline

Laurent Montel <montel@kde.org> committed rKLEOPATRAf8efa6b74af6: Patch from Andrey Legayev (authored by Laurent Montel <montel@kde.org>).Apr 9 2020, 7:19 AM