Commit 698206d9 authored by Sergio Martins's avatar Sergio Martins
Browse files

Don't delete incomplete type, it's undefined behaviour

parent 8b9b2e80
......@@ -2310,7 +2310,7 @@ void KAlarmApp::slotDBusServiceUnregistered(const QString& serviceName)
{
if (serviceName == KTTSD_DBUS_SERVICE)
{
delete mKSpeech;
// delete mKSpeech; // TODO: port to Qt5 / KF5
mKSpeech = Q_NULLPTR;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment