[SCM] ktp-contact-applet packaging branch, master, updated. debian/15.12.1-1-966-gde83ac5

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:19:14 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-desktop-applets.git;a=commitdiff;h=804b4e1

The following commit has been merged in the master branch:
commit 804b4e1f02c73830408d98805b96117088a9faf6
Author: Aleix Pol <aleixpol at kde.org>
Date:   Sat Apr 12 20:55:00 2014 +0200

    Fix placement of the dialogs
---
 chat/org.kde.ktp-chat/contents/ui/ConversationDelegate.qml | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/chat/org.kde.ktp-chat/contents/ui/ConversationDelegate.qml b/chat/org.kde.ktp-chat/contents/ui/ConversationDelegate.qml
index ca39040..5ecacd1 100644
--- a/chat/org.kde.ktp-chat/contents/ui/ConversationDelegate.qml
+++ b/chat/org.kde.ktp-chat/contents/ui/ConversationDelegate.qml
@@ -68,12 +68,8 @@ ConversationDelegateButton {
                 //when we open the dialog by the button plasma will collapse because the
                 //item is not positioned yet. Use the plasmoid root instead, in those cases
                 var item = convButton.state==Component.Ready ? convButton : base;
-                var point = dialog.popupPosition(item, convButton.popupSide);
-                console.log("Showing dialog at (" + point.x + "," + point.y + ")");
 
-                dialog.x = point.x;
-                dialog.y = point.y;
-                dialog.activateWindow();
+                dialog.visualParent = item;
             } else if(base.currentIndex == index) {
                 closeConversation();
             }

-- 
ktp-contact-applet packaging



More information about the pkg-kde-commits mailing list