| Summary: | klauncher said: Unknown protocol ''. | ||
|---|---|---|---|
| Product: | [I don't know] kde | Reporter: | jangeorg.vdwath |
| Component: | general | Assignee: | Unassigned bugs <unassigned-bugs-null> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | crash | CC: | ben, shlomif |
| Priority: | NOR | ||
| Version First Reported In: | 4.7 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
jangeorg.vdwath
2011-09-22 14:57:27 UTC
Can you provide the source to the offending program? A reproducing example will be nice. I wrote an example app which launch exactly the same line of code that my project does, but it works in the example app but crash in my project. Am a bit baffled. I found the problem are linked to if I set the filter on the dialog. I will investigate further why Qt crashes.
A working example is
#include <QtGui>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QString saveFileName = QFileDialog::getSaveFileName(NULL, "Test", "~/temp/file.v1-a.txt", "Data file (*.dat)", NULL, QFileDialog::DontConfirmOverwrite);
return app.exec();
}
Found the problem. The example app still produces the error message "klauncher said: Unknown protocol ''" which generates a QtCryticalMsg. In my project when I receive a QtCryticalMsg I close down the program. I will log the bug with Qt as well. Sounds like this bug got filed with Qt. Unfortunately no copy was made here. Resolving as upstream tho. |