like this?
Array = saveGeometry();
settings.setValue("geometry", Array);
// set the value on close.
//get value
qbaArray
= settings.
value("geometry",
QByteArray("10,10,10,10")).
toByteArray();
restoreGeometry(qbaArray);
Array = saveGeometry();
settings.setValue("geometry", Array);
// set the value on close.
//get value
qbaArray = settings.value("geometry", QByteArray("10,10,10,10")).toByteArray();
restoreGeometry(qbaArray);
To copy to clipboard, switch view to plain text mode
I don't believe it worked. I am using 4.2.2
Also, how did people do it before this method?
Bookmarks