equal
deleted
inserted
replaced
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(); |