equal
deleted
inserted
replaced
839 } |
839 } |
840 |
840 |
841 setStyleSheet(style); |
841 setStyleSheet(style); |
842 chatText->document()->setDefaultStyleSheet(*s_styleSheet); |
842 chatText->document()->setDefaultStyleSheet(*s_styleSheet); |
843 displayNotice(tr("Stylesheet imported from %1").arg(path)); |
843 displayNotice(tr("Stylesheet imported from %1").arg(path)); |
844 displayNotice(tr("Enter %1 if you want to use the current styleSheet in future, enter %2 to reset!").arg("/saveStyleSheet").arg("/discaredStyleSheet")); |
844 displayNotice(tr("Enter %1 if you want to use the current styleSheet in future, enter %2 to reset!").arg("/saveStyleSheet").arg("/discardStyleSheet")); |
845 |
845 |
846 if (file.isOpen()) |
846 if (file.isOpen()) |
847 file.close(); |
847 file.close(); |
848 |
848 |
849 event->acceptProposedAction(); |
849 event->acceptProposedAction(); |