forked from len0rd/rockbox
Theme Editor: Fixed album art positioning bug, removed unneeded debug code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27207 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c215d97b4d
commit
f09370058f
3 changed files with 3 additions and 4 deletions
|
@ -35,6 +35,8 @@ public:
|
|||
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
|
||||
QWidget *widget);
|
||||
|
||||
void position(){ this->setPos(size.x(), size.y()); }
|
||||
|
||||
private:
|
||||
QRectF size;
|
||||
int artWidth;
|
||||
|
|
|
@ -79,6 +79,7 @@ public:
|
|||
if(albumArt)
|
||||
{
|
||||
albumArt->setParentItem(view);
|
||||
albumArt->position();
|
||||
albumArt->show();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -796,10 +796,6 @@ bool ParseTreeNode::execTag(const RBRenderInfo& info, RBViewport* viewport)
|
|||
QVariant ParseTreeNode::evalTag(const RBRenderInfo& info, bool conditional,
|
||||
int branches)
|
||||
{
|
||||
if(strcmp(element->tag->name, "mv") == 0)
|
||||
{
|
||||
int x = 5;
|
||||
}
|
||||
if(!conditional)
|
||||
{
|
||||
return info.device()->data(QString(element->tag->name));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue