Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

qtlib: support QLabel as 'label' argument

Changeset ad03f90f1a6c

Parent 65f8054d4508

by Yuki KODAMA

Changes to one file · Browse files at ad03f90f1a6c Showing diff from parent 65f8054d4508 Diff from another changeset...

 
385
386
387
388
 
 
389
390
391
 
385
386
387
 
388
389
390
391
392
@@ -385,7 +385,8 @@
  box.setContentsMargins(*(0,)*4)     if label: - label = QLabel(label) + if isinstance(label, basestring): + label = QLabel(label)   box.addWidget(label)     sep = QFrame()