@@ -149,7 +149,6 @@ def __init__(self, halcomp, widgets, paths):
149149 self .GCODES = GCodes (widgets )
150150 self .valid = QDoubleValidator (0.0 , 999.999 , 3 )
151151 self .IMAGES = os .path .join (self .PATHS .IMAGEDIR , 'qtplasmac/images/' )
152- self .w .setWindowIcon (QIcon (os .path .join (self .IMAGES , 'linuxcncicon.png' )))
153152 self .landscape = True
154153 if os .path .basename (self .PATHS .XML ) == 'qtplasmac_9x16.ui' :
155154 self .landscape = False
@@ -313,6 +312,8 @@ def __init__(self, halcomp, widgets, paths):
313312 self .DEBUG = 27
314313
315314 def initialized__ (self ):
315+ self .w .setWindowTitle ('{} - QtPlasmaC v{}, powered by QtVCP on LinuxCNC v{}' .format (self .machineName , VERSION , linuxcnc .version .split (':' )[0 ]))
316+ self .w .setWindowIcon (QIcon (os .path .join (self .IMAGES , 'Chips_Plasma.png' )))
316317 # ensure we get all startup errors
317318 STATUS .connect ('error' , self .error_update )
318319 STATUS .connect ('graphics-gcode-error' , lambda o , e :self .error_update (o , linuxcnc .OPERATOR_ERROR , e ))
@@ -364,7 +365,6 @@ def initialized__(self):
364365 STATUS .connect ('tool-in-spindle-changed' , self .tool_changed )
365366 STATUS .connect ('periodic' , lambda w : self .update_periodic ())
366367 STATUS .connect ('metric-mode-changed' , self .metric_mode_changed )
367- self .w .setWindowTitle ('{} - QtPlasmaC v{}, powered by QtVCP on LinuxCNC v{}' .format (self .machineName , VERSION , linuxcnc .version .split (':' )[0 ]))
368368 self .startupTimer = QTimer ()
369369 self .startupTimer .timeout .connect (self .startup_timeout )
370370 self .startupTimer .setSingleShot (True )
0 commit comments