Skip to content

Commit

Permalink
use colors to mark pressed buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
wschweer committed May 28, 2013
1 parent c4072fc commit f254512
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mscore/miconengine.cpp
Expand Up @@ -162,7 +162,7 @@ QPixmap MIconEngine::pixmap(const QSize &size, QIcon::Mode mode, QIcon::State st
p.end();

int ww = img.width();
#if 0
#if 1
if (state == QIcon::On) {
for (int y = 0; y < img.height(); ++y) {
quint32* p = (quint32*)img.scanLine(y);
Expand Down Expand Up @@ -206,7 +206,7 @@ QPixmap MIconEngine::pixmap(const QSize &size, QIcon::Mode mode, QIcon::State st
++scanLine;
}
}
// }
}

pm = QPixmap::fromImage(img);
if (!pm.isNull())
Expand Down

0 comments on commit f254512

Please sign in to comment.