Are you using QToolButton or QPushButton?