mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 02:42:50 +00:00
plasma: remove unused variables
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
cb432f7389
commit
2f9c35ee97
1 changed files with 0 additions and 3 deletions
|
@ -123,8 +123,6 @@ void DesktopCorona::checkAddPanelAction(const QStringList &sycocaChanges)
|
|||
m_addPanelsMenu = 0;
|
||||
|
||||
KPluginInfo::List panelContainmentPlugins = Plasma::Containment::listContainmentsOfType("panel");
|
||||
const QString constraint = QString("[X-Plasma-Shell] == '%1' and 'panel' ~in [X-Plasma-ContainmentCategories]")
|
||||
.arg(KGlobal::mainComponent().componentName());
|
||||
|
||||
if (panelContainmentPlugins.count() == 1) {
|
||||
m_addPanelAction = new QAction(i18n("Add Panel"), this);
|
||||
|
@ -380,7 +378,6 @@ void DesktopCorona::screenAdded(Kephal::Screen *s)
|
|||
void DesktopCorona::populateAddPanelsMenu()
|
||||
{
|
||||
m_addPanelsMenu->clear();
|
||||
const KPluginInfo emptyInfo;
|
||||
|
||||
KPluginInfo::List panelContainmentPlugins = Plasma::Containment::listContainmentsOfType("panel");
|
||||
QMap<QString, QPair<KPluginInfo, KService::Ptr> > sorted;
|
||||
|
|
Loading…
Add table
Reference in a new issue