Paste P460

(An Untitled Masterwork)
ActivePublic

Authored by davidre on Sep 4 2019, 1:32 PM.
diff --git a/src/SpectacleConfig.cpp b/src/SpectacleConfig.cpp
index 0f85e39..633cb92 100644
--- a/src/SpectacleConfig.cpp
+++ b/src/SpectacleConfig.cpp
@@ -44,26 +44,31 @@ SpectacleConfig::SpectacleConfig(QObject *parent) :
{
QAction *action = new QAction(i18n("Launch Spectacle"));
action->setObjectName(QStringLiteral("_launch"));
+ action->setProperty("isConfigurationAction", true);
shortCutActions->addAction(action->objectName(), action);
}
{
QAction *action = new QAction(i18n("Capture Entire Desktop"));
action->setObjectName(QStringLiteral("FullScreenScreenShot"));
+ action->setProperty("isConfigurationAction", true);
shortCutActions->addAction(action->objectName(), action);
}
{
QAction *action = new QAction(i18n("Capture Current Monitor"));
action->setObjectName(QStringLiteral("CurrentMonitorScreenShot"));
+ action->setProperty("isConfigurationAction", true);
shortCutActions->addAction(action->objectName(), action);
}
{
QAction *action = new QAction(i18n("Capture Active Window"));
action->setObjectName(QStringLiteral("ActiveWindowScreenShot"));
+ action->setProperty("isConfigurationAction", true);
shortCutActions->addAction(action->objectName(), action);
}
{
QAction *action = new QAction(i18n("Capture Rectangular Region"));
action->setObjectName(QStringLiteral("RectangularRegionScreenShot"));
+ action->setProperty("isConfigurationAction", true);
shortCutActions->addAction(action->objectName(), action);
}
}
davidre created this paste.Sep 4 2019, 1:32 PM
davidre created this object in space S1 KDE Community.