Ok I can make it populate the Ini file now... with this:

Qt Code:
  1. void Porcupine::saveSettings()
  2. {
  3.  
  4. QSettings settings(QSettings::IniFormat, QSettings::UserScope,"Codematic", "Porcupine");
  5.  
  6. QStringList ipAddressList;
  7. QStringList fileNameList;
  8.  
  9. settings.beginGroup("MainWindow");
  10. settings.setValue("size", size());
  11. settings.setValue("pos", pos());
  12. settings.endGroup();
  13.  
  14. settings.beginGroup("network");
  15. for(int index = 0; index < ui.ipaddressComboBox->count();index++)
  16. ipAddressList.append(ui.ipaddressComboBox->itemText(index));
  17. settings.setValue("ipaddressComboBox", ipAddressList);
  18. settings.setValue("filename", fileNameList);
  19. settings.endGroup();
  20.  
  21. ui.statusLogs->append(tr("Settings Saved"));
  22.  
  23. }
To copy to clipboard, switch view to plain text mode 

I get this in the INI, which is good (i think)
Qt Code:
  1. [MainWindow]
  2. pos=@Point(107 71)
  3. size=@Size(785 480)
  4.  
  5. [network]
  6. filename=@Invalid()
  7. ipaddressComboBox=1.1.1.1, 2.2.2.2, 3.3.3.3
To copy to clipboard, switch view to plain text mode 


Now working getting it to read and populate the combo box...