Am Donnerstag, 6. November 2003 15:46 schrieb Dirk Mueller: > CVS commit by mueller: > > no reason to waste cycles > > > M +1 -1 kpcmcia.cpp 1.14 > > > --- kdeutils/klaptopdaemon/kpcmcia.cpp #1.13:1.14 > @@ -176,5 +176,5 @@ tv.tv_sec = 0; tv.tv_usec = 0; > bool foundit = false; > QString _thisreg = "^Socket %1: "; > - QRegExp thisreg = _thisreg.arg(_num); > + QRegExp thisreg ( _thisreg.arg(_num) ); Aren't all compilers expected to do this implictly, to use a constructor when there is an initialisation by an assignement? At least this is what I feel to have burned into my head from several books... Please, anyone? Friedrich