From: nicola Date: Tue, 15 Dec 2009 14:33:56 +0000 (+0100) Subject: info banner X-Git-Url: http://vcs.maemo.org/git/?a=commitdiff_plain;ds=sidebyside;h=eedc9dceaf6a1e2d2805f606a7e235d8de64e8bb;p=badge info banner --- diff --git a/badgewindow.cpp b/badgewindow.cpp index 459e655..884cc48 100644 --- a/badgewindow.cpp +++ b/badgewindow.cpp @@ -6,14 +6,16 @@ #include "badgedata.h" #include "dialogsearch.h" #include +#include BadgeWindow::BadgeWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::BadgeWindow) { ui->setupUi(this); + setAttribute(Qt::WA_Maemo5StackedWindow); ui->menuBar->addAction(ui->actionSearch); ui->menuBar->addAction(ui->actionInfo); -#ifndef Q_WS_HILDON +#ifndef Q_WS_MAEMO_5 ui->menuBar->addAction(ui->actionClose); #endif connect(ui->actionSearch, SIGNAL(triggered()), this, SLOT(search())); @@ -64,7 +66,7 @@ void BadgeWindow::search() void BadgeWindow::info() { QMessageBox::aboutQt(this); - QMessageBox::about(this, tr("Badge"), tr("(c) 2009 Nicola De Filippo - nicola@nicoladefilippo.it\n" + QMaemo5InformationBox::information(this, tr("(c) 2009 Nicola De Filippo - nicola@nicoladefilippo.it\n" "This program is licensed to you under terms of the GNU General Public\n" "License Version 2 as published by Free Software Foundation. This gives\n" "you legal permission to copy, distribute and/or modify this software under\n"