[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/plasma/applets/devicenotifier
From: Marco Martin <notmart () gmail ! com>
Date: 2008-01-22 14:32:29
Message-ID: 1201012349.159345.1480.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 764766 by mart:
Plasma::Dialog::position() became Widget::popupPosition()
M +2 -2 devicenotifier.cpp
--- trunk/KDE/kdebase/workspace/plasma/applets/devicenotifier/devicenotifier.cpp #764765:764766
@@ -275,7 +275,7 @@
} else {
m_hotplugModel->setData(index,last_action_label, ActionRole);
}
- m_widget->position(view(), boundingRect(), mapToScene(boundingRect().topLeft()));
+ m_widget->move(popupPosition(m_widget->sizeHint()));
m_widget->show();
m_timer->start(m_displayTime*1000);
}
@@ -366,7 +366,7 @@
void DeviceNotifier::hoverEnterEvent(QGraphicsSceneHoverEvent *event)
{
if(!isOnDesktop) {
- m_widget->position(event, boundingRect(), mapToScene(boundingRect().topLeft()));
+ m_widget->move(popupPosition(m_widget->sizeHint()));
}
Applet::hoverEnterEvent(event);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic