projects
/
dorian
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Clean up volume key handling code.
[dorian]
/
platform.cpp
diff --git
a/platform.cpp
b/platform.cpp
index
dff134c
..
f72a073
100644
(file)
--- a/
platform.cpp
+++ b/
platform.cpp
@@
-90,3
+90,13
@@
void Platform::information(const QString &label, QWidget *parent)
QMessageBox::Ok);
#endif
}
+
+void Platform::showBusy(QWidget *w, bool isBusy)
+{
+#ifdef Q_WS_MAEMO_5
+ w->setAttribute(Qt::WA_Maemo5ShowProgressIndicator, isBusy);
+#else
+ Q_UNUSED(w);
+ Q_UNUSED(isBusy);
+#endif
+}