summaryrefslogtreecommitdiffstats
path: root/parts/openwith
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-12 18:48:37 +0900
committerMichele Calgaro <[email protected]>2023-08-18 16:42:35 +0900
commit0813a2c41340ea35119ba3225c8c9b710d9ced07 (patch)
treebe99c4c1f95e9a19ddc3d28f7484b4b866e2fce7 /parts/openwith
parent03e67cae445e4207ff23b64c813fbc62d24ff364 (diff)
downloadtdevelop-0813a2c41340ea35119ba3225c8c9b710d9ced07.tar.gz
tdevelop-0813a2c41340ea35119ba3225c8c9b710d9ced07.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'parts/openwith')
-rw-r--r--parts/openwith/openwithpart.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/parts/openwith/openwithpart.cpp b/parts/openwith/openwithpart.cpp
index 63fcc6d9..665f725c 100644
--- a/parts/openwith/openwithpart.cpp
+++ b/parts/openwith/openwithpart.cpp
@@ -92,7 +92,7 @@ void OpenWithPart::fillContextMenu(TQPopupMenu *popup, const Context *context)
void OpenWithPart::openWithService()
{
- KService::Ptr ptr = KService::serviceByDesktopPath(TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name());
+ KService::Ptr ptr = KService::serviceByDesktopPath(sender()->name());
if (ptr)
{
KRun::run(*ptr, m_urls);