projects
/
jenirok
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cosmetic fixes to detail view and other windows.
[jenirok]
/
src
/
gui
/
detailwindow.cpp
diff --git
a/src/gui/detailwindow.cpp
b/src/gui/detailwindow.cpp
index
23a591f
..
24bb2ec
100644
(file)
--- a/
src/gui/detailwindow.cpp
+++ b/
src/gui/detailwindow.cpp
@@
-142,6
+142,8
@@
void DetailWindow::showAddToContactsDialog()
void DetailWindow::addToContacts()
{
void DetailWindow::addToContacts()
{
+ setAttribute(Qt::WA_Maemo5ShowProgressIndicator, true);
+
ContactManager cm;
ContactManager::Contact contact;
contact.name = addContactInput_->text();
ContactManager cm;
ContactManager::Contact contact;
contact.name = addContactInput_->text();
@@
-158,6
+160,8
@@
void DetailWindow::addToContacts()
QMessageBox::critical(this, tr("Error"), tr("Unable to add contact."));
}
QMessageBox::critical(this, tr("Error"), tr("Unable to add contact."));
}
+ setAttribute(Qt::WA_Maemo5ShowProgressIndicator, false);
+
}
void DetailWindow::copyToClipboard()
}
void DetailWindow::copyToClipboard()