You are comparing pointers instead of the objects itself, try: Qt Code: Switch view if (*one == *two) ... if (*one == *two) ... To copy to clipboard, switch view to plain text mode
if (*one == *two) ...
J-P Nurmi
Forum Rules
Bookmarks