| 100 | } |
| 101 | |
| 102 | QString MergeFileInfos::fileName() const |
| 103 | { |
| 104 | if(m_pFileInfoA != nullptr && m_pFileInfoA->exists()) |
| 105 | return m_pFileInfoA->fileName(); |
| 106 | else if(m_pFileInfoB != nullptr && m_pFileInfoB->exists()) |
| 107 | return m_pFileInfoB->fileName(); |
| 108 | else if(m_pFileInfoC != nullptr && m_pFileInfoC->exists()) |
| 109 | return m_pFileInfoC->fileName(); |
| 110 | return QString(""); |
| 111 | } |
| 112 | |
| 113 | bool MergeFileInfos::conflictingFileTypes() const |
| 114 | { |