Commits

minirop  committed 32bf4c5

pix "over" not mandatory

  • Participants
  • Parent commits 829a525

Comments (0)

Files changed (1)

File PushButton.cpp

 {
 	pixNormal = QPixmap(normal);
 	pixOver = QPixmap(over);
+	if(pixOver.isNull())
+		pixOver = pixNormal;
+	
 	isOver = false;
 	setFixedSize(pixNormal.size());
 	setMouseTracking(true);