aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General')
-rw-r--r--src/plugins/General/hal/halplugin.cpp4
-rw-r--r--src/plugins/General/streambrowser/streambrowser.cpp4
-rw-r--r--src/plugins/General/udisks2/udisks2plugin.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/General/hal/halplugin.cpp b/src/plugins/General/hal/halplugin.cpp
index dfea19cf9..cd4ee96de 100644
--- a/src/plugins/General/hal/halplugin.cpp
+++ b/src/plugins/General/hal/halplugin.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009-2014 by Ilya Kotov *
+ * Copyright (C) 2009-2018 by Ilya Kotov *
* forkotov02@ya.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -179,7 +179,7 @@ void HalPlugin::updateActions()
action->setIcon(qApp->style()->standardIcon(QStyle::SP_DriveHDIcon));
m_actions->addAction(action);
- UiHelper::instance()->addAction(action, UiHelper::TOOLS_MENU);
+ UiHelper::instance()->addAction(action, UiHelper::ADD_MENU);
addPath(dev_path);
}
}
diff --git a/src/plugins/General/streambrowser/streambrowser.cpp b/src/plugins/General/streambrowser/streambrowser.cpp
index 69fbcd836..87cb86b69 100644
--- a/src/plugins/General/streambrowser/streambrowser.cpp
+++ b/src/plugins/General/streambrowser/streambrowser.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2012 by Ilya Kotov *
+ * Copyright (C) 2012-2018 by Ilya Kotov *
* forkotov02@ya.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -33,7 +33,7 @@ StreamBrowser::StreamBrowser(QObject *parent) : QObject(parent)
m_action = new QAction(tr("Stream Browser"), this);
m_action->setIcon(QIcon::fromTheme("applications-internet"));
m_action->setShortcut(tr("Ctrl+U"));
- UiHelper::instance()->addAction(m_action, UiHelper::TOOLS_MENU);
+ UiHelper::instance()->addAction(m_action, UiHelper::ADD_MENU);
connect (m_action, SIGNAL(triggered ()), SLOT(showStreamWindow()));
}
diff --git a/src/plugins/General/udisks2/udisks2plugin.cpp b/src/plugins/General/udisks2/udisks2plugin.cpp
index 8a37b00e1..2f1f6d675 100644
--- a/src/plugins/General/udisks2/udisks2plugin.cpp
+++ b/src/plugins/General/udisks2/udisks2plugin.cpp
@@ -153,7 +153,7 @@ void UDisks2Plugin::updateActions()
action->setText(actionText);
action->setData(dev_path);
m_actions->addAction(action);
- UiHelper::instance()->addAction(action, UiHelper::TOOLS_MENU);
+ UiHelper::instance()->addAction(action, UiHelper::ADD_MENU);
addPath(dev_path);
}
}