Commit dbe0d593 authored by hjk's avatar hjk
Browse files

debugger: be a bit more generous when deciding what's a 'skippable' function

parent c2327457
......@@ -163,13 +163,13 @@ QString currentTime()
bool isSkippableFunction(const QString &funcName, const QString &fileName)
{
if (fileName.endsWith(QLatin1String("kernel/qobject.cpp")))
if (fileName.endsWith(QLatin1String("/qobject.cpp")))
return true;
if (fileName.endsWith(QLatin1String("kernel/moc_qobject.cpp")))
if (fileName.endsWith(QLatin1String("/moc_qobject.cpp")))
return true;
if (fileName.endsWith(QLatin1String("kernel/qmetaobject.cpp")))
if (fileName.endsWith(QLatin1String("/qmetaobject.cpp")))
return true;
if (fileName.endsWith(QLatin1String("kernel/qmetaobject_p.h")))
if (fileName.endsWith(QLatin1String("/qmetaobject_p.h")))
return true;
if (fileName.endsWith(QLatin1String(".moc")))
return true;
......
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