Re: qFatal usage in KStandardDirs

2011-01-15 Thread Alex Merry
On Friday 14 Jan 2011 17:53:07 Aaron J. Seigo wrote: > hi... > > i just came across this in kstandarddirs.cpp: > > if (dirs.isEmpty()) { > qFatal("KStandardDirs: The resource type %s is not > registered", type); > } else { > path = realPath(

Re: qFatal usage in KStandardDirs

2011-01-14 Thread Michael Pyne
On Friday, January 14, 2011 20:53:07 Aaron J. Seigo wrote: > hi... > > i just came across this in kstandarddirs.cpp: > > if (dirs.isEmpty()) { > qFatal("KStandardDirs: The resource type %s is not > registered", type); > } else { > path = rea

qFatal usage in KStandardDirs

2011-01-14 Thread Aaron J. Seigo
hi... i just came across this in kstandarddirs.cpp: if (dirs.isEmpty()) { qFatal("KStandardDirs: The resource type %s is not registered", type); } else { path = realPath(dirs.first()); } isn't this is a bit heavy handed? for me