return;
}
- addAction(tr("Add bookmark"), this, SLOT(onAdd()), ":/icons/add.png");
-#ifndef Q_WS_MAEMO_5
- addItemAction(tr("Go to"), this, SLOT(onGo()));
- addItemAction(tr("Delete"), this, SLOT(onDelete()));
-#endif // ! Q_WS_MAEMO_5
+ addAction(tr("Add bookmark"), this, SLOT(onAdd()), "add");
// Build bookmark list
// FIXME: Localize me
{
bool ok;
QString text = QInputDialog::getText(this, tr("Add bookmark"),
- tr("Note:"), QLineEdit::Normal,
- QString(), &ok);
+ tr("Note (optional):"), QLineEdit::Normal, QString(), &ok);
if (ok) {
emit addBookmark(text);
close();