How do i save a QStringList to a arrey in Settings?
QString myvalue;
//This have value from before.
settings settings(Me, App);
settings.beginGroup("ServerManager");
settings.beginWriteArray("ServerItems");
settings.setValue("ServerItem", myvalue);
settings.endArray();
settings.engGroup();
QString myvalue; //This have value from before.
settings settings(Me, App);
settings.beginGroup("ServerManager");
settings.beginWriteArray("ServerItems");
settings.setValue("ServerItem", myvalue);
settings.endArray();
settings.engGroup();
To copy to clipboard, switch view to plain text mode
Can anyone help me?
Bookmarks