Hi, I think it's because statusBar()->palette() returns a QPalette&. So "palOrg" references the internal QPalette object of the status bar, and since it's a reference it reflects all changes made to the object it "points" to.

Ginsengelf