strIconPath.empty() is quicker