equal
deleted
inserted
replaced
143 attachmentsLayout->addWidget(attachmentsList); |
143 attachmentsLayout->addWidget(attachmentsList); |
144 attachmentsLayout->addLayout(buttonLayout); |
144 attachmentsLayout->addLayout(buttonLayout); |
145 |
145 |
146 QGroupBox *attachmentsGroup = new QGroupBox(tr("Attachments")); |
146 QGroupBox *attachmentsGroup = new QGroupBox(tr("Attachments")); |
147 attachmentsGroup->setLayout(attachmentsLayout); |
147 attachmentsGroup->setLayout(attachmentsLayout); |
|
148 #ifdef Q_WS_MAEMO_5 |
|
149 // Maemo 5 style doesn't take group box titles into account. |
|
150 int spacingHack = QFontMetrics(QFont()).height(); |
|
151 attachmentsLayout->setContentsMargins(0, spacingHack, 0, 0); |
|
152 #endif |
148 |
153 |
149 textEdit = new QTextEdit; |
154 textEdit = new QTextEdit; |
150 |
155 |
151 sendButton = new QPushButton(tr("Send")); |
156 sendButton = new QPushButton(tr("Send")); |
152 |
157 |