[SailfishDevel] cover stays after app has quitted
Wim de Vries
wsvries at xs4all.nl
Thu Aug 29 08:22:10 UTC 2013
Hi all,
After quitting the app, very often, the cover is still there (sometimes
garbled).
It works ok when the shutDown function is called from the pull-down menu.
(MyesNoDialog is used as a message Dialog).
QML:
Page..
if (saveFailed)
{
var errorDialog = pageStack.push("MyesNoDialog.qml", {text :
"FATAL ERROR: CANNOT SAVE.\nSHUTTING DOWN\n"})
errorDialog.accepted.connect(
function()
{
myqquickview.shutDown()
})
errorDialog.rejected.connect(
function()
{
myqquickview.shutDown()
})
}
C++ (myqquickview):
void MyQQuickView::shutDown()
{
qWarning() << "shutting down";
close();
}
Thanks.
More information about the Devel
mailing list