gamecreature / QtAwesome

QtAwesome - Font Awesome for Qt Applications
Other
787 stars 149 forks source link

Use a loop to initialize the hash table #17

Closed gsauthof closed 8 years ago

gsauthof commented 8 years ago

Using an static read-only array of string literal and id pairs allows to initialize the hash table in a loop.

This results in smaller and less redundant code.