1. 05 Aug, 2014 2 commits
    • Peng Liu's avatar
      Removed the QLists for determining image format. Instead, using QImageReader,... · 4bb1d28a
      Peng Liu authored
      Removed the QLists for determining image format. Instead, using QImageReader, both when downloading/saving and when loading, to determine the correct format (Cockatrice now supports all QImageReader-supported formats).
      Image loading still uses one for loop to iterate through the QList of paths to folders in which to search for images.
      4bb1d28a
    • Peng Liu's avatar
      Refactored the magic bytes into two QLists: one containing a list of QStrings... · 8587b8c3
      Peng Liu authored
      Refactored the magic bytes into two QLists: one containing a list of QStrings representing the supported extensions, the other containing a list of QByteArrays representing the magic bytes in hex.
      Refactored the image loading loop to be two nested for loops: the outer loop iterating through the QList of paths to folders in which to search for images and the inner loop iterating through the QList of supported extensions.
      8587b8c3
  2. 04 Aug, 2014 2 commits
  3. 31 Jul, 2014 2 commits
  4. 30 Jul, 2014 4 commits
  5. 27 Jul, 2014 4 commits
  6. 26 Jul, 2014 2 commits
  7. 25 Jul, 2014 2 commits
  8. 24 Jul, 2014 12 commits
  9. 23 Jul, 2014 10 commits