Depreceated code advice

The pause script on the Wiki gives this error
UnityEngine.QualitySettings.currentLevel’ is obsolete: `Use GetQualityLevel and SetQualityLevel’

The code is

void Qualities() {
		switch (QualitySettings.currentLevel) 
		{
		case QualityLevel.Fastest:
			GUILayout.Label("Fastest");
			break;
		case QualityLevel.Fast:
			GUILayout.Label("Fast");
			break;
		case QualityLevel.Simple:
			GUILayout.Label("Simple");
			break;
		case QualityLevel.Good:
			GUILayout.Label("Good");
			break;
		case QualityLevel.Beautiful:
			GUILayout.Label("Beautiful");
			break;
		case QualityLevel.Fantastic:
			GUILayout.Label("Fantastic");
			break;
		}
	}

I don’t understand how to code case switch stuff so can’t seem to find a way to fix it. Any advice?

switch (QualitySettings.GetQualityLevel())
{
case 0:
GUILayout.Label(“Fastest”);
break;
case 1:
GUILayout.Label(“Fast”);
break;
case 2:
GUILayout.Label(“Simple”);
break;
case 3:
GUILayout.Label(“Good”);
break;
case 4:
GUILayout.Label(“Beautiful”);
break;
default:
GUILayout.Label(“Fantastic”);
break;
}

Is the replacement code. ALthough I was trying this already I failed to see that the two brackets were required.
No need to be a dick about it “Le Pampelmuse”

Fixing Wiki now…