Advertisement
3nids

Untitled

Jun 10th, 2013
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. defaultValue =QColor(0, 0, 255)
  2. value = QColor(100,100,100)
  3. QSettings(pluginName, pluginName).setValue(name, [value.red(),value.green(),value.red()])
  4. QSettings(pluginName, pluginName).value(name, defaultValue, type=list)
  5. Traceback (most recent call last):
  6. File "<input>", line 1, in <module>
  7. TypeError: unable to convert a QVariant of type 11 to a QMetaType of type 300
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement