equal
deleted
inserted
replaced
59 { |
59 { |
60 // Open the credits file |
60 // Open the credits file |
61 |
61 |
62 /* *** FILE FORMAT OF CREDITS FILE *** |
62 /* *** FILE FORMAT OF CREDITS FILE *** |
63 The credits file is an RFC-4180-compliant CSV file with 4 columns. |
63 The credits file is an RFC-4180-compliant CSV file with 4 columns. |
64 The first colum is always 1 letter long and is the row type. |
64 The first column (column 1) is always 1 letter long and is the row type. |
65 The row type determines the meaning of the other columns. |
65 The row type determines the meaning of the other columns. |
|
66 |
66 The following row types are supported: |
67 The following row types are supported: |
67 |
68 |
68 * E: Credits entry |
69 * E: Credits entry |
69 * Column 2: Task/contribution |
70 * Column 2: Task/contribution |
70 * Column 3: Contributor name |
71 * Column 3: Contributor name |
75 * Column 2: Section name |
76 * Column 2: Section name |
76 * Columns 3-4: Unused |
77 * Columns 3-4: Unused |
77 * U: Subsection |
78 * U: Subsection |
78 * Column 2: Subsection name |
79 * Column 2: Subsection name |
79 * Columns 3-4: Unused |
80 * Columns 3-4: Unused |
|
81 |
|
82 Column 2 MUST be in US-ASCII. |
80 */ |
83 */ |
81 QFile creditsFile(":/res/credits.csv"); |
84 QFile creditsFile(":/res/credits.csv"); |
82 if (!creditsFile.open(QIODevice::ReadOnly)) |
85 if (!creditsFile.open(QIODevice::ReadOnly)) |
83 { |
86 { |
84 qWarning("ERROR: Credits file could not be opened!"); |
87 qWarning("ERROR: Credits file could not be opened!"); |