Whenever I run this bit of code it prints blank characters:
Qt Code:
void Photo::apertureChanged() { QString x; x = aperture.itemText(0); const char *c_str2 = i.data(); printf(c_str2); }To copy to clipboard, switch view to plain text mode
when really its supposed to print the aperture number of combobox index 0.
it compiles fine.
Thanks in Advance
Bookmarks