projects
/
groove
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update to reflect api changes and small patch for alternate audio
[groove]
/
topbar.cpp
diff --git
a/topbar.cpp
b/topbar.cpp
index
81daeef
..
6e19e7a
100644
(file)
--- a/
topbar.cpp
+++ b/
topbar.cpp
@@
-42,6
+42,7
@@
void topBar::resizeEvent(QResizeEvent *e)
{
if(e->type() == QEvent::Resize)
{
{
if(e->type() == QEvent::Resize)
{
+#if defined(Q_WS_MAEMO_5) || defined(Q_WS_HILDON)
if(((QWidget *)this->parent())->testAttribute(Qt::WA_Maemo5PortraitOrientation))
{
ui->sBox->setReadOnly(true);
if(((QWidget *)this->parent())->testAttribute(Qt::WA_Maemo5PortraitOrientation))
{
ui->sBox->setReadOnly(true);
@@
-49,6
+50,7
@@
void topBar::resizeEvent(QResizeEvent *e)
}
else
ui->sBox->setReadOnly(false);
}
else
ui->sBox->setReadOnly(false);
+#endif
}
}
}
}
@@
-66,4
+68,5
@@
bool topBar::eventFilter(QObject *obj, QEvent *e)
}
else
return QWidget::eventFilter(obj,e);
}
else
return QWidget::eventFilter(obj,e);
+ return true;
}
}