Added cool icon to promoe.

This commit is contained in:
Tobias Rundstrom 2006-02-27 19:30:36 -03:00
parent fa4fc01a31
commit 19cafc34e1
6 changed files with 24 additions and 1 deletions

View file

@ -4,6 +4,7 @@
#include <QMouseEvent>
#include <QPaintEvent>
#include <QRect>
#include <QIcon>
PlaylistScrollButton::PlaylistScrollButton (PlaylistScroller *parent, uint normal, uint pressed) : Button (parent, normal, pressed, true)
{
@ -79,6 +80,10 @@ PlaylistWindow::PlaylistWindow (QWidget *parent) : QMainWindow (parent)
{
Skin *skin = Skin::getInstance ();
#ifndef _WIN32
setWindowIcon (QIcon (":icon.png"));
#endif
setWindowFlags (Qt::FramelessWindowHint);
connect (skin, SIGNAL (skinChanged (Skin *)),
this, SLOT (setPixmaps(Skin *)));