QTfrontend/ui/page/pageadmin.cpp
changeset 6178 affa860f2983
parent 6060 fdfc01419815
child 6180 0992fc5a4ad9
equal deleted inserted replaced
6177:5eba8970e8ae 6178:affa860f2983
    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     tb->document()->setDefaultStyleSheet(HWChatWidget::STYLE);
    67     // TODO this work-around to apply chat css to preview won't work anymore
       
    68     // tb->document()->setDefaultStyleSheet(HWChatWidget::STYLE);
    68     pageLayout->addWidget(tb, 4, 1, 1, 2);
    69     pageLayout->addWidget(tb, 4, 1, 1, 2);
    69     
    70     
    70     // 5
    71     // 5
    71     pbClearAccountsCache = addButton(tr("Clear Accounts Cache"), pageLayout, 5, 0);
    72     pbClearAccountsCache = addButton(tr("Clear Accounts Cache"), pageLayout, 5, 0);
    72     
    73