Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
vmj-qt
Commits
73eb2804
Commit
73eb2804
authored
Mar 21, 2014
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not start a drag from self when accepting drops from other entities
parent
54a4da95
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
contacts.py
blink/contacts.py
+0
-3
sessions.py
blink/sessions.py
+0
-3
No files found.
blink/contacts.py
View file @
73eb2804
...
@@ -3124,7 +3124,6 @@ class ContactListView(QListView):
...
@@ -3124,7 +3124,6 @@ class ContactListView(QListView):
if
has_blink_contacts
:
if
has_blink_contacts
:
QApplication
.
instance
()
.
main_window
.
switch_view_button
.
dnd_active
=
True
QApplication
.
instance
()
.
main_window
.
switch_view_button
.
dnd_active
=
True
event
.
accept
()
event
.
accept
()
self
.
setState
(
self
.
DraggingState
)
def
dragLeaveEvent
(
self
,
event
):
def
dragLeaveEvent
(
self
,
event
):
super
(
ContactListView
,
self
)
.
dragLeaveEvent
(
event
)
super
(
ContactListView
,
self
)
.
dragLeaveEvent
(
event
)
...
@@ -3489,7 +3488,6 @@ class ContactSearchListView(QListView):
...
@@ -3489,7 +3488,6 @@ class ContactSearchListView(QListView):
event
.
ignore
()
event
.
ignore
()
else
:
else
:
event
.
accept
()
event
.
accept
()
self
.
setState
(
self
.
DraggingState
)
def
dragLeaveEvent
(
self
,
event
):
def
dragLeaveEvent
(
self
,
event
):
super
(
ContactSearchListView
,
self
)
.
dragLeaveEvent
(
event
)
super
(
ContactSearchListView
,
self
)
.
dragLeaveEvent
(
event
)
...
@@ -3723,7 +3721,6 @@ class ContactDetailView(QListView):
...
@@ -3723,7 +3721,6 @@ class ContactDetailView(QListView):
event
.
ignore
()
event
.
ignore
()
else
:
else
:
event
.
accept
()
event
.
accept
()
self
.
setState
(
self
.
DraggingState
)
def
dragLeaveEvent
(
self
,
event
):
def
dragLeaveEvent
(
self
,
event
):
super
(
ContactDetailView
,
self
)
.
dragLeaveEvent
(
event
)
super
(
ContactDetailView
,
self
)
.
dragLeaveEvent
(
event
)
...
...
blink/sessions.py
View file @
73eb2804
...
@@ -2319,7 +2319,6 @@ class AudioSessionListView(QListView):
...
@@ -2319,7 +2319,6 @@ class AudioSessionListView(QListView):
if
event_source
is
self
:
if
event_source
is
self
:
event
.
setDropAction
(
Qt
.
MoveAction
)
event
.
setDropAction
(
Qt
.
MoveAction
)
event
.
accept
()
event
.
accept
()
self
.
setState
(
self
.
DraggingState
)
def
dragLeaveEvent
(
self
,
event
):
def
dragLeaveEvent
(
self
,
event
):
super
(
AudioSessionListView
,
self
)
.
dragLeaveEvent
(
event
)
super
(
AudioSessionListView
,
self
)
.
dragLeaveEvent
(
event
)
...
@@ -3084,7 +3083,6 @@ class ChatSessionListView(QListView):
...
@@ -3084,7 +3083,6 @@ class ChatSessionListView(QListView):
event
.
ignore
()
event
.
ignore
()
else
:
else
:
event
.
accept
()
event
.
accept
()
self
.
setState
(
self
.
DraggingState
)
def
dragLeaveEvent
(
self
,
event
):
def
dragLeaveEvent
(
self
,
event
):
super
(
ChatSessionListView
,
self
)
.
dragLeaveEvent
(
event
)
super
(
ChatSessionListView
,
self
)
.
dragLeaveEvent
(
event
)
...
@@ -3539,7 +3537,6 @@ class ConferenceParticipantListView(QListView, ColorHelperMixin):
...
@@ -3539,7 +3537,6 @@ class ConferenceParticipantListView(QListView, ColorHelperMixin):
event
.
ignore
()
event
.
ignore
()
else
:
else
:
event
.
accept
()
event
.
accept
()
self
.
setState
(
self
.
DraggingState
)
def
dragLeaveEvent
(
self
,
event
):
def
dragLeaveEvent
(
self
,
event
):
super
(
ConferenceParticipantListView
,
self
)
.
dragLeaveEvent
(
event
)
super
(
ConferenceParticipantListView
,
self
)
.
dragLeaveEvent
(
event
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment