From cb6c1ad4bbb8f8c70593615e2b81a9e81b9ad3d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Wed, 1 Jul 2009 15:17:35 +0000 Subject: [PATCH] Backport. Fix change caused by r959979 - the opacity popup should not be before desktop popup. svn path=/branches/KDE/4.3/kdebase/workspace/; revision=990061 --- useractions.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/useractions.cpp b/useractions.cpp index 50994efd83..5966c3fb85 100644 --- a/useractions.cpp +++ b/useractions.cpp @@ -266,7 +266,8 @@ void Workspace::initDesktopPopup() this, SLOT( desktopPopupAboutToShow() ) ); QAction *action = desk_popup->menuAction(); - popup->insertAction(mMoveOpAction, action); + // set it as the first item + popup->insertAction( trans_popup ? trans_popup->menuAction() : mMoveOpAction, action); action->setText( i18n("To &Desktop") ); }