Remove duplicate code

Authored by mlaurent on Sep 27 2018, 4:54 AM.

Description

Remove duplicate code

Details

Committed
mlaurentSep 27 2018, 4:54 AM
Parents
R91:a7a93af6c546: USe #ifdef KF5_USE_PURPOSE here too
Branches
Unknown
Tags
Unknown
arfrever added inline comments.
/src/ksieveui/editor/sieveeditorwidget.cpp
136

I suspect that you forgot to drop '#ifdef KF5_USE_PURPOSE' check and change these other lines into:

if (mShareAction) {
    menuBar->fileMenu()->addAction(mShareAction);
    menuBar->toolsMenu()->addSeparator();
}