Why are you trying to set a QColor by converting a QSettings value to a QString? It looks like all you want is to set a default color if the QSettings does not contain an entry for your query. So do this:
Qt Code:
To copy to clipboard, switch view to plain text mode
Bookmarks