QTfrontend/ui/widget/chatwidget.cpp
changeset 6218 999215ca87d7
parent 6215 efe2e2f7cabf
child 6221 f3ac3e51418b
equal deleted inserted replaced
6217:ef53ba841791 6218:999215ca87d7
   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();