list = new QListWidget(this);
list->setSelectionMode(QAbstractItemView::SingleSelection);
#if defined(Q_OS_SYMBIAN)
- list->setFixedWidth(QApplication::desktop()->availableGeometry().width());
list->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
#endif
populateList();
{
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);