QTfrontend/ui/page/pageadmin.cpp
changeset 6180 0992fc5a4ad9
parent 6178 affa860f2983
child 6616 f77bb02b669f
equal deleted inserted replaced
6179:b529f88d37d0 6180:0992fc5a4ad9
    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