Skip to content

Commit

Permalink
fixup: release cannot display jpg
Browse files Browse the repository at this point in the history
  • Loading branch information
pjincz committed Jun 22, 2018
1 parent e0543ea commit 015a22d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Binary file removed assets/meow.jpg
Binary file not shown.
Binary file added assets/meow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion qrc.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<qresource prefix="/">
<file>assets/clock.wav</file>
<file>assets/github.png</file>
<file>assets/meow.jpg</file>
<file>assets/meow.png</file>
</qresource>
</RCC>
2 changes: 1 addition & 1 deletion widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ void Widget::keyReleaseEvent(QKeyEvent *e)
m_keySeq = (m_keySeq + e->text()).right(4);
if (m_keySeq.toLower() == "meow") {
QLabel * l = new QLabel();
l->setPixmap(QPixmap(":/assets/meow.jpg"));
l->setPixmap(QPixmap(":/assets/meow.png"));
l->show();
}
}
Expand Down

0 comments on commit 015a22d

Please sign in to comment.