Skip to content

Instantly share code, notes, and snippets.

@pvdk
Created June 26, 2012 12:59
Show Gist options
  • Save pvdk/2995674 to your computer and use it in GitHub Desktop.
Save pvdk/2995674 to your computer and use it in GitHub Desktop.
Replace method for AA options
int index = result.indexOf("FSAA 0");
if (index != -1)
result.replace(index, tr("Off"));
index = result.indexOf("MSAA 0");
if (index != -1)
result.replace(index, tr("Off"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment