maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   QT4.6 bug? (https://talk.maemo.org/showthread.php?t=47356)

Figa 2010-03-14 17:07

QT4.6 bug?
 
Look at this simple example:
Code:

        QString sufix = ".oki";
        QString filename = QFileDialog::getSaveFileName(this, "Save file", "", sufix);

http://img110.imageshack.us/img110/8963/bug.png

tvogel 2010-03-14 23:14

Re: QT4.6 bug?
 
Yes, the corrupted button label looks like a Qt bug. But shouldn't your filter string be rather "*.oki" instead of ".oki"? I suspect Qt is looking for a "*" in vain.

Figa 2010-03-15 16:20

Re: QT4.6 bug?
 
Thank you. Do you have some suggestion for solve this problem?

tvogel 2010-03-15 16:24

Re: QT4.6 bug?
 
What about the suggestion that I gave? Replacing ".oki" by "*.oki". Does it help?

Figa 2010-03-15 16:50

Re: QT4.6 bug?
 
It doesnt help.

hqh 2010-03-31 21:07

Re: QT4.6 bug?
 
Encountered the same problem and created a bug report:
https://bugs.maemo.org/show_bug.cgi?id=9790


All times are GMT. The time now is 07:12.

vBulletin® Version 3.8.8