[mythtv] mythmusic patch - trivial
Matt Zimmerman
mdz at debian.org
Sun Apr 6 18:39:35 EDT 2003
On Sun, Apr 06, 2003 at 05:35:21PM -0400, Matt Zimmerman wrote:
> > for(digits=1,by10=10;(max/by10) >=1 ;by10*=10,digits++);
> > - sprintf(temp,"%%0%ii",digits);
> > + QString temp(QString().sprintf("%%0%ii",digits));
> > for(int x=0;x<max;x++)
> > {
> > litem=listlist.at(playlistorder[x]);
> > - litem->setText(0,QString().sprintf(temp,x));
> > + litem->setText(0,QString().sprintf(temp.ascii(),x));
> > }
Now that I think about it, isn't there some way to set the
alignment/justification of the columns in these things?
--
- mdz
More information about the mythtv-dev
mailing list