equal
deleted
inserted
replaced
117 QString flags = m_data.at(row).at(0); |
117 QString flags = m_data.at(row).at(0); |
118 |
118 |
119 if (flags.contains("g")) |
119 if (flags.contains("g")) |
120 { |
120 { |
121 if (flags.contains("j")) |
121 if (flags.contains("j")) |
|
122 return QVariant(roomBusyIconRed); |
|
123 else if (flags.contains("p")) |
|
124 return QVariant(roomBusyIconGreen); |
|
125 else |
|
126 return QVariant(roomBusyIcon); |
|
127 } |
|
128 else |
|
129 { |
|
130 if (flags.contains("j")) |
122 return QVariant(roomWaitingIconRed); |
131 return QVariant(roomWaitingIconRed); |
123 else if (flags.contains("p")) |
132 else if (flags.contains("p")) |
124 return QVariant(roomWaitingIconGreen); |
133 return QVariant(roomWaitingIconGreen); |
125 else |
134 else |
126 return QVariant(roomWaitingIcon); |
135 return QVariant(roomWaitingIcon); |
127 } |
|
128 else |
|
129 { |
|
130 if (flags.contains("j")) |
|
131 return QVariant(roomBusyIconRed); |
|
132 else if (flags.contains("p")) |
|
133 return QVariant(roomBusyIconGreen); |
|
134 else |
|
135 return QVariant(roomBusyIcon); |
|
136 } |
136 } |
137 } |
137 } |
138 |
138 |
139 QString content = m_data.at(row).at(column); |
139 QString content = m_data.at(row).at(column); |
140 |
140 |