-rw-r--r-- | core/pim/today/today.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index 6dac6d9..61bd0c4 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp | |||
@@ -97,27 +97,27 @@ void Today::channelReceived(const QCString &msg, const QByteArray & data) { | |||
97 | } | 97 | } |
98 | 98 | ||
99 | } | 99 | } |
100 | 100 | ||
101 | /* | 101 | /* |
102 | * Initialises the owner field with the default value, the username | 102 | * Initialises the owner field with the default value, the username |
103 | */ | 103 | */ |
104 | void Today::setOwnerField() { | 104 | void Today::setOwnerField() { |
105 | QString file = Global::applicationFileName("addressbook", "businesscard.vcf"); | 105 | QString file = Global::applicationFileName("addressbook", "businesscard.vcf"); |
106 | if (QFile::exists(file)) { | 106 | if (QFile::exists(file)) { |
107 | Contact cont = Contact::readVCard(file)[0]; | 107 | Contact cont = Contact::readVCard(file)[0]; |
108 | QString returnString = cont.fullName(); | 108 | QString returnString = cont.fullName(); |
109 | OwnerField->setText( tr ("<b>Owned by " + returnString + "</b>")); | 109 | OwnerField->setText( "<b>" +tr ("Owned by ") + returnString + "</b>"); |
110 | } else { | 110 | } else { |
111 | OwnerField->setText( tr ("<b>Please fill out the business card </b>")); | 111 | OwnerField->setText( "<b>" + tr ("Please fill out the business card")+" </b>"); |
112 | } | 112 | } |
113 | } | 113 | } |
114 | 114 | ||
115 | /* | 115 | /* |
116 | * Set the owner field with a given QString, for example per qcop. | 116 | * Set the owner field with a given QString, for example per qcop. |
117 | */ | 117 | */ |
118 | void Today::setOwnerField(QString &message) { | 118 | void Today::setOwnerField(QString &message) { |
119 | if (!message.isEmpty()) { | 119 | if (!message.isEmpty()) { |
120 | OwnerField->setText("<b>" + message + "</b>"); | 120 | OwnerField->setText("<b>" + message + "</b>"); |
121 | } | 121 | } |
122 | } | 122 | } |
123 | 123 | ||