diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-12 18:42:14 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-14 16:42:54 +0900 |
commit | 2cf346ab8dbffada88c5d60b052d6b9d5ff76b4f (patch) | |
tree | 097af26f74e021914424cceeec06d9a732d96598 | |
parent | 94c1aa87bb7ed5e1b04936e7dd4f46470ccc27f6 (diff) | |
download | smb4k-2cf346ab8dbffada88c5d60b052d6b9d5ff76b4f.tar.gz smb4k-2cf346ab8dbffada88c5d60b052d6b9d5ff76b4f.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit aff2c4c558ef521dca249553ca3b0c42d433d676)
-rw-r--r-- | smb4k/iconview/smb4ksharesiconview.cpp | 2 | ||||
-rw-r--r-- | smb4k/listview/smb4kshareslistview.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/smb4k/iconview/smb4ksharesiconview.cpp b/smb4k/iconview/smb4ksharesiconview.cpp index f7a7d96..1b08751 100644 --- a/smb4k/iconview/smb4ksharesiconview.cpp +++ b/smb4k/iconview/smb4ksharesiconview.cpp @@ -150,7 +150,7 @@ void Smb4KSharesIconView::contentsDropEvent( TQDropEvent *e ) { if ( dest.equals( *it, true ) ) { - if ( e->source() == this || TQT_BASE_OBJECT(e->source()->parent()) == TQT_BASE_OBJECT(this) ) + if ( e->source() == this || e->source()->parent() == this ) { e->ignore(); diff --git a/smb4k/listview/smb4kshareslistview.cpp b/smb4k/listview/smb4kshareslistview.cpp index dd29a7b..6519698 100644 --- a/smb4k/listview/smb4kshareslistview.cpp +++ b/smb4k/listview/smb4kshareslistview.cpp @@ -155,7 +155,7 @@ void Smb4KSharesListView::contentsDropEvent( TQDropEvent *e ) { if ( dest.equals( *it, true ) ) { - if ( e->source() == this || TQT_BASE_OBJECT(e->source()->parent()) == TQT_BASE_OBJECT(this) ) + if ( e->source() == this || e->source()->parent() == this ) { e->ignore(); |