Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.1, 2.1.1, and 2.1.2

qtlib: make second parameter of loadIniFile (parent) optional
So that loadIniFile can be called from places where there isn't a reference to

a proper dialog parent.

Changeset 4840023dafe9

Parent a6ed16e96a4a

by Angel Ezquerra

Changes to one file · Browse files at 4840023dafe9 Showing diff from parent a6ed16e96a4a Diff from another changeset...

 
68
69
70
71
 
72
73
74
 
68
69
70
 
71
72
73
74
@@ -68,7 +68,7 @@
  return   QDesktopServices.openUrl(QUrl(fullurl))   -def loadIniFile(rcpath, parent): +def loadIniFile(rcpath, parent=None):   for fn in rcpath:   if os.path.exists(fn):   break