QTfrontend/ui/widget/chatwidget.cpp
changeset 6239 7ede83d81fc6
parent 6238 b344159da248
child 6240 5d8e478916b4
equal deleted inserted replaced
6238:b344159da248 6239:7ede83d81fc6
   921         }
   921         }
   922 
   922 
   923         setStyleSheet(style);
   923         setStyleSheet(style);
   924         chatText->document()->setDefaultStyleSheet(*s_styleSheet);
   924         chatText->document()->setDefaultStyleSheet(*s_styleSheet);
   925         displayNotice(tr("Stylesheet imported from %1").arg(path));
   925         displayNotice(tr("Stylesheet imported from %1").arg(path));
   926         displayNotice(tr("Enter %1 if you want to use the current styleSheet in future, enter %2 to reset!").arg("/saveStyleSheet").arg("/discardStyleSheet"));
   926         displayNotice(tr("Enter %1 if you want to use the current StyleSheet in future, enter %2 to reset!").arg("/saveStyleSheet").arg("/discardStyleSheet"));
   927 
   927 
   928         if (file.isOpen())
   928         if (file.isOpen())
   929             file.close();
   929             file.close();
   930 
   930 
   931         event->acceptProposedAction();
   931         event->acceptProposedAction();