![]() |
2010-04-11
, 18:32
|
Posts: 13 |
Thanked: 12 times |
Joined on Apr 2010
@ Finland
|
#2
|
![]() |
2010-04-11
, 18:50
|
|
Posts: 754 |
Thanked: 630 times |
Joined on Sep 2009
@ London
|
#3
|
![]() |
2010-04-11
, 21:36
|
|
Posts: 1,296 |
Thanked: 1,773 times |
Joined on Aug 2009
@ Budapest, Hungary
|
#4
|
![]() |
2010-04-11
, 21:39
|
|
Posts: 1,296 |
Thanked: 1,773 times |
Joined on Aug 2009
@ Budapest, Hungary
|
#5
|
![]() |
2010-04-12
, 07:21
|
Posts: 13 |
Thanked: 12 times |
Joined on Apr 2010
@ Finland
|
#6
|
The Following User Says Thank You to tommiasp For This Useful Post: | ||
![]() |
2010-04-12
, 13:07
|
|
Posts: 1,296 |
Thanked: 1,773 times |
Joined on Aug 2009
@ Budapest, Hungary
|
#7
|
![]() |
2010-04-12
, 13:23
|
|
Posts: 754 |
Thanked: 630 times |
Joined on Sep 2009
@ London
|
#8
|
The Following User Says Thank You to krk969 For This Useful Post: | ||
![]() |
2010-04-12
, 14:05
|
Posts: 17 |
Thanked: 42 times |
Joined on Feb 2010
|
#9
|
The Following User Says Thank You to StewartHolmes For This Useful Post: | ||
![]() |
2010-04-12
, 14:30
|
|
Posts: 1,296 |
Thanked: 1,773 times |
Joined on Aug 2009
@ Budapest, Hungary
|
#10
|
Not sure but i think Q_WS_MAEMO_5 came in 4.6 and 4.5 has Q_WS_HILDON.
#if defined(Q_WS_MAEMO_5) || defined(Q_WS_HILDON)
Ive had a quick look at your code, and i couldnt figure out anything inapprorpiate immediately. WIll try to have a closer look.
If you have time at hand now, why not comment each of those 3 Dialogs one by one and localize it.
This is because you're deleting the reply in one of its slots. Instead of using the delete keyword, you want to call reply->deleteLater().
The Following User Says Thank You to Venemo For This Useful Post: | ||
The strings and the variable names are changed to make this sample more understandable.
(In fact, I'm working on an EVE Online API client, and this is the code which asks the user for his/her User ID and API key.)
I compiled it with MADDE's Qt Creator integration.
(The Qt version is 4.5.3, which is the default in PR 1.1.1.)
When the application reaches this code block and displays the message box and then the input dialogs, it randomly crashes when I click on one of their buttons.
There are no operations in the background, and nothing that would affect it.
At least 1 out of 5 times, it crashes either on clicking on the "Yes", or clicking on the "Done" of the first input dialog.
It has never crashed on the second input dialog, though.
I tried to change getInt() to getString(), and then converting the result to int, but the dialog also crashed then, too. (Also about 1 of 5 times.)
It seems that changing the MessageBox so that it only has a "Done" button makes it not crash, but then the first input dialog also crashes sometimes.
I think I may be doing something wrong here, but I can't find any specific reason for this behaviour.
Could anyone be so kind as to help me with that?
You should follow me on Twitter!
Apps: Puzzle Master, IRC Chatter for Harmattan, IRC for Sailfish
Last edited by Venemo; 2010-04-11 at 17:41.