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::ConstIterator it = m_createFileTemplates.begin(); KSortableValueList::ConstIterator end = m_createFileTemplates.end(); - const TQString senderName(TQT_TQOBJECT(sender())->name()); + const TQString senderName(TQT_TQOBJECT(const_cast(sender()))->name()); bool found = false; CreateFileEntry entry; while (!found && (it != end)) {