mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
Add Donate standard action to control menu
REVIEW: 128946
This commit is contained in:
parent
87ddbf770e
commit
ca53974181
|
@ -50,6 +50,7 @@
|
|||
#include <KActionMenu>
|
||||
#include <KAuthorized>
|
||||
#include <KConfig>
|
||||
#include <kconfigwidgets_version.h>
|
||||
#include <kdualaction.h>
|
||||
#include <KJobWidgets>
|
||||
#include <QLineEdit>
|
||||
|
@ -868,6 +869,10 @@ void DolphinMainWindow::updateControlMenu()
|
|||
helpMenu->addSeparator();
|
||||
helpMenu->addAction(ac->action(KStandardAction::name(KStandardAction::ReportBug)));
|
||||
helpMenu->addSeparator();
|
||||
#if KCONFIGWIDGETS_VERSION >= QT_VERSION_CHECK(5, 26, 0)
|
||||
helpMenu->addAction(ac->action(KStandardAction::name(KStandardAction::Donate)));
|
||||
helpMenu->addSeparator();
|
||||
#endif
|
||||
helpMenu->addAction(ac->action(KStandardAction::name(KStandardAction::SwitchApplicationLanguage)));
|
||||
helpMenu->addSeparator();
|
||||
helpMenu->addAction(ac->action(KStandardAction::name(KStandardAction::AboutApp)));
|
||||
|
|
Loading…
Reference in a new issue