projects
/
dorian
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d0659a
)
Fix buttons in lists on Maemo.
author
Akos Polster
<akos@pipacs.com>
Sun, 21 Nov 2010 13:59:41 +0000
(14:59 +0100)
committer
Akos Polster
<akos@pipacs.com>
Sun, 21 Nov 2010 13:59:41 +0000
(14:59 +0100)
widgets/listwindow.cpp
patch
|
blob
|
history
diff --git
a/widgets/listwindow.cpp
b/widgets/listwindow.cpp
index
3443024
..
d3bc4a9
100644
(file)
--- a/
widgets/listwindow.cpp
+++ b/
widgets/listwindow.cpp
@@
-69,7
+69,9
@@
void ListWindow::insertButton(int row, const Button &b)
{
QPushButton *pushButton = new QPushButton(
QIcon(Platform::instance()->icon(b.iconName)), b.title, this);
+#ifdef Q_OS_SYMBIAN
pushButton->setFixedWidth(list->width());
+#endif
connect(pushButton, SIGNAL(clicked()), b.receiver, b.slot);
QListWidgetItem *item = new QListWidgetItem();
item->setFlags(Qt::NoItemFlags);