if the window doesn't have focus we don't get pallete change events. instead listen to the qguiapp's signal and force updates of the item
mentioned in commit 7d631935