eric7/EricWidgets/EricApplication.py

branch
eric7
changeset 8908
48f55b2e7fe5
parent 8881
54e42bc2437a
equal deleted inserted replaced
8907:3700e4d27e17 8908:48f55b2e7fe5
218 try: 218 try:
219 with open(filename, "r", encoding="utf-8") as f: 219 with open(filename, "r", encoding="utf-8") as f:
220 styleSheet = f.read() 220 styleSheet = f.read()
221 except OSError as msg: 221 except OSError as msg:
222 EricMessageBox.warning( 222 EricMessageBox.warning(
223 self, 223 None,
224 QCoreApplication.translate( 224 QCoreApplication.translate(
225 "EricApplication", "Loading Style Sheet"), 225 "EricApplication", "Loading Style Sheet"),
226 QCoreApplication.translate( 226 QCoreApplication.translate(
227 "EricApplication", 227 "EricApplication",
228 """<p>The Qt Style Sheet file <b>{0}</b> could""" 228 """<p>The Qt Style Sheet file <b>{0}</b> could"""

eric ide

mercurial