equal
deleted
inserted
replaced
62 lblPreview->setText(tr("MOTD preview:")); |
62 lblPreview->setText(tr("MOTD preview:")); |
63 pageLayout->addWidget(lblPreview, 4, 0); |
63 pageLayout->addWidget(lblPreview, 4, 0); |
64 |
64 |
65 tb = new QTextBrowser(this); |
65 tb = new QTextBrowser(this); |
66 tb->setOpenExternalLinks(true); |
66 tb->setOpenExternalLinks(true); |
67 // TODO this work-around to apply chat css to preview won't work anymore |
67 tb->document()->setDefaultStyleSheet(HWChatWidget::styleSheet()); |
68 // tb->document()->setDefaultStyleSheet(HWChatWidget::STYLE); |
|
69 pageLayout->addWidget(tb, 4, 1, 1, 2); |
68 pageLayout->addWidget(tb, 4, 1, 1, 2); |
70 |
69 |
71 // 5 |
70 // 5 |
72 pbClearAccountsCache = addButton(tr("Clear Accounts Cache"), pageLayout, 5, 0); |
71 pbClearAccountsCache = addButton(tr("Clear Accounts Cache"), pageLayout, 5, 0); |
73 |
72 |