Changeset View
Changeset View
Standalone View
Standalone View
app/view/contextmenu.cpp
Show First 20 Lines • Show All 444 Lines • ▼ Show 20 Line(s) | 443 | if (act->menu()) { | |||
---|---|---|---|---|---|
445 | //in .exec before oxygen can polish it and set the following attribute | 445 | //in .exec before oxygen can polish it and set the following attribute | ||
446 | act->menu()->setAttribute(Qt::WA_TranslucentBackground); | 446 | act->menu()->setAttribute(Qt::WA_TranslucentBackground); | ||
447 | //end workaround | 447 | //end workaround | ||
448 | 448 | | |||
449 | if (act->menu()->winId()) { | 449 | if (act->menu()->winId()) { | ||
450 | act->menu()->windowHandle()->setTransientParent(m_latteView); | 450 | act->menu()->windowHandle()->setTransientParent(m_latteView); | ||
451 | } | 451 | } | ||
452 | } | 452 | } | ||
453 | m_latteView->setConfigureActionText(act); | ||||
453 | } | 454 | } | ||
454 | 455 | | |||
455 | desktopMenu->addActions(actions); | 456 | desktopMenu->addActions(actions); | ||
456 | 457 | | |||
457 | return; | 458 | return; | ||
458 | } | 459 | } | ||
459 | 460 | | |||
460 | Plasma::Containment *ContextMenu::containmentById(uint id) | 461 | Plasma::Containment *ContextMenu::containmentById(uint id) | ||
Show All 12 Lines |