Make returning from full screen mode more obvious.
if (QMessageBox::Yes ==
QMessageBox::question(this, "Clear persistent data?",
"Library and settings data will be cleared, "
- "application will be restarted. Continue?")) {
+ "application will be restarted. Continue?",
+ QMessageBox::Yes
+#ifndef Q_WS_MAEMO_5
+ , QMessageBox::No
+#endif
+ )) {
QSettings().clear();
QApplication::exit(1000);
}
int row = list->row(item);
QString title = Library::instance()->at(row)->title;
if (QMessageBox::Yes ==
- QMessageBox::question(this, "Delete book", "Delete book " + title,
- QMessageBox::Yes, QMessageBox::No)) {
+ QMessageBox::question(this, "Delete book",
+ "Delete book \"" + title + "\"?", QMessageBox::Yes
+#ifndef Q_WS_MAEMO_5
+ , QMessageBox::No
+#endif
+ )) {
list->takeItem(row);
Library::instance()->remove(row);
}
dorian (0.0.9-1) unstable; urgency=low
* Optify Maemo package
+ * Better dialogs on Mac
+ * Make returning from full screen mode more obvious
-- Akos Polster <akos@pipacs.com> Fri, 16 Jul 2010 20:00:00 +0200
-#include "translucentbutton.h"
+#include "translucentbutton.h"
#ifdef Q_WS_MAC
# define ICON_PREFIX ":/icons/mac/"
void TranslucentButton::flash()
{
QPropertyAnimation *ani = new QPropertyAnimation(this, "opacity", 0);
- ani->setDuration(2000);
+ ani->setDuration(5000);
ani->setStartValue(0.);
ani->setEndValue(1.);
ani->setEasingCurve(QEasingCurve::OutQuart);