this, SIGNAL(historyPrev()));
connect(historyShowToolButton, SIGNAL(clicked()),
- this, SIGNAL(historyShow()));
+ this, SLOT(showHistoryButtonClicked()));
connect(clearSearchWordToolButton, SIGNAL(clicked()),
this, SLOT(clearSearchWordToolButtonClicked()));
historyShowToolButton->setEnabled(list);
}
}
+
+void SearchBarWidget::showHistoryButtonClicked() {
+ #ifndef Q_WS_MAEMO_5
+ QPoint p = historyShowToolButton->pos();
+ p.setY(p.y());
+ emit historyShow(mapToGlobal(p));
+ #else
+ emit historyShow();
+ #endif
+}