summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Uwe Broulik <kde@privat.broulik.de>2016-10-19 11:59:18 (GMT)
committerKai Uwe Broulik <kde@privat.broulik.de>2016-10-19 11:59:18 (GMT)
commit0a981e934f37a47fb2ac69c19233a4d24c2c9a3f (patch)
tree6a8600a3ad27a82904b6bcf55a4ba5005ff6a22c
parent9f56556e72a79e4499b945ed180fa206c2e9e17e (diff)
[Quick Chat] Remove unused popupSide property
This property is unused and PlasmaCore.Dialog location and visualParent already take care of this. REVIEW: 129069
-rw-r--r--chat/org.kde.ktp-chat/contents/ui/ConversationDelegate.qml1
-rw-r--r--chat/org.kde.ktp-chat/contents/ui/FullChatList.qml7
2 files changed, 0 insertions, 8 deletions
diff --git a/chat/org.kde.ktp-chat/contents/ui/ConversationDelegate.qml b/chat/org.kde.ktp-chat/contents/ui/ConversationDelegate.qml
index a089fbc..01f5fe2 100644
--- a/chat/org.kde.ktp-chat/contents/ui/ConversationDelegate.qml
+++ b/chat/org.kde.ktp-chat/contents/ui/ConversationDelegate.qml
@@ -25,7 +25,6 @@ import org.kde.telepathy 0.1
ConversationDelegateButton {
id: convButton
property alias isCurrentConversation: dialog.visible
- property variant popupSide
avatar: model.conversation.avatar
title: model.conversation.title
diff --git a/chat/org.kde.ktp-chat/contents/ui/FullChatList.qml b/chat/org.kde.ktp-chat/contents/ui/FullChatList.qml
index 258c1cf..2312290 100644
--- a/chat/org.kde.ktp-chat/contents/ui/FullChatList.qml
+++ b/chat/org.kde.ktp-chat/contents/ui/FullChatList.qml
@@ -120,18 +120,11 @@ Grid {
}
}
- property variant popupSide: plasmoid.location === PlasmaCore.Types.TopEdge ?Qt.AlignBottom
- : plasmoid.location === PlasmaCore.Types.BottomEdge ? Qt.AlignTop
- : plasmoid.location === PlasmaCore.Types.LeftEdge ? Qt.AlignRight
- : plasmoid.location === PlasmaCore.Types.RightEdge ? Qt.AlignLeft
- : base.flow === Flow.LeftToRight ? Qt.AlignBottom : Qt.AlignRight
-
Repeater {
id: conversationsView
delegate: ConversationDelegate {
width: base.itemWidth
height: base.itemHeight
- popupSide: base.popupSide
}
model: conversationsModel
onCountChanged: if(base.currentIndex>=conversationsView.count) {