[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.5/kdebase/workspace/plasma/generic/applets/systemtray/protocols/dbussystemtray
From: Darío Andrés Rodríguez <andresbajotierra () gmail ! co
Date: 2010-12-30 17:34:17
Message-ID: 20101230173417.C5C87AC8AD () svn ! kde ! org
[Download RAW message or body]
SVN commit 1210324 by darioandres:
Backport "SVN commit 1202665 by gateau" to 4.5:
Show the context menu asynchronously.
CCBUG:241562
M +4 -4 dbussystemtraywidget.cpp
--- branches/KDE/4.5/kdebase/workspace/plasma/generic/applets/systemtray/protocols/dbussystemtray/dbussystemtraywidget.cpp \
#1210323:1210324 @@ -120,8 +120,8 @@
if (m_host->containment() && m_host->containment()->corona()) {
menu->adjustSize();
QPoint p = m_host->containment()->corona()->popupPosition(this, \
menu->size());
- //kDebug() << "execing at: " << p << menu->size();
- menu->exec(p);
+ //kDebug() << "showing at: " << p << menu->size();
+ menu->popup(p);
} else {
// Compute a reasonable position for the menu if we don't have a corona.
QPoint pos(sjob->parameters()["x"].toInt(), \
sjob->parameters()["y"].toInt()); @@ -137,8 +137,8 @@
} else if (menuRect.bottom() > availableRect.bottom()) {
menuRect.moveBottom(availableRect.bottom());
}
- //kDebug() << "non-corona execing at: " << menuRect.topLeft();
- menu->exec(menuRect.topLeft());
+ //kDebug() << "non-corona showing at: " << menuRect.topLeft();
+ menu->popup(menuRect.topLeft());
}
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic