use currentItemChanged signal instead of itemSelectionChanged - since the latter is always one item behind if you hold down the mousebutton and move the cursor through the list
if(WIN32 AND NOT UNIX) file(GLOB DLLs *.dll) file(GLOB ICOs *.ico) install(FILES ${DLLs} ${ICOs} DESTINATION bin)endif(WIN32 AND NOT UNIX)