I installed KCachegrind on Ubuntu 14.10
When i click open button, i see Open dialog with default filter of file "Callgrind Profile Data" and not see my file. I must select "All files" in filter and then i see my file.
What extension must have a file that I saw him once when opening this dialog?
I looked up the relevant source code here:
void QCGTopLevel::loadTrace()
{
QString file;
file = QFileDialog::getOpenFileName(this,
tr("Open Callgrind Data"),
_lastFile,
tr("Callgrind Files (callgrind.*)"));
loadTrace(file);
}
It seems you need to prefix the filename with callgrind.
to see the file by default. Or you can just select "All Files" from the dropdown.
callgrind.
did not work for me, so I checked the code as well:
KUrl url = KFileDialog::getOpenUrl(KUrl(),
i18n("cachegrind.out* callgrind.out*|Callgrind Profile Data\n*|All Files"),
It seems callgrind.out
works.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With