summaryrefslogtreecommitdiffstats
path: root/src/dolphin.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-12 18:44:48 +0900
committerMichele Calgaro <[email protected]>2023-08-14 19:14:29 +0900
commitd4fddb259999a2533a8092f8a9f9775f7054b807 (patch)
tree9aa7efe31f1b1cc51e1acdb8a83597eff9fc5995 /src/dolphin.cpp
parent31e7981857e098a7fbefc362b639ec37fd3a9f6c (diff)
downloaddolphin-d4fddb259999a2533a8092f8a9f9775f7054b807.tar.gz
dolphin-d4fddb259999a2533a8092f8a9f9775f7054b807.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/dolphin.cpp')
-rw-r--r--src/dolphin.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dolphin.cpp b/src/dolphin.cpp
index 9365671..01b5c5f 100644
--- a/src/dolphin.cpp
+++ b/src/dolphin.cpp
@@ -432,11 +432,10 @@ void Dolphin::createFile()
KSortableValueList<CreateFileEntry, TQString>::ConstIterator it = m_createFileTemplates.begin();
KSortableValueList<CreateFileEntry, TQString>::ConstIterator end = m_createFileTemplates.end();
- const TQString senderName(TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name());
bool found = false;
CreateFileEntry entry;
while (!found && (it != end)) {
- if ((*it).index() == senderName) {
+ if ((*it).index() == sender()->name()) {
entry = (*it).value();
found = true;
}