else
str = "#deb ";
- str += iUrl + iDir + " " + iDist + " " + iComponents;
+ str += iUrl + iDir + " " + iDist;
+ if( !iComponents.isEmpty() )
+ str += " " + iComponents;
return( str.trimmed() );
}
iComponents = components.trimmed();
iEnabled = enabled;
+ if( iDist.isEmpty() )
+ iDist = ".";
+
// ensure that the protocol part of the URL is lowercase
int pos = iUrl.indexOf("://");
QString proto = iUrl.left(pos);