summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dolphin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphin.cpp b/src/dolphin.cpp
index 2b8ddb8..0fbba54 100644
--- a/src/dolphin.cpp
+++ b/src/dolphin.cpp
@@ -431,7 +431,7 @@ void Dolphin::createFile()
KSortableValueList<CreateFileEntry, TQString>::ConstIterator it = m_createFileTemplates.begin();
KSortableValueList<CreateFileEntry, TQString>::ConstIterator end = m_createFileTemplates.end();
- const TQString senderName(TQT_TQOBJECT(sender())->name());
+ const TQString senderName(TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name());
bool found = false;
CreateFileEntry entry;
while (!found && (it != end)) {