equal
deleted
inserted
replaced
1869 } |
1869 } |
1870 persistentHiddenSections.clear(); |
1870 persistentHiddenSections.clear(); |
1871 |
1871 |
1872 for (int i = 0; i < oldSectionHidden.count(); ++i) { |
1872 for (int i = 0; i < oldSectionHidden.count(); ++i) { |
1873 if (oldSectionHidden.testBit(i)) |
1873 if (oldSectionHidden.testBit(i)) |
1874 q->setSectionHidden(logicalIndex(i), false); |
1874 q->setSectionHidden(i, false); |
1875 } |
1875 } |
1876 |
1876 |
1877 // the number of sections changed; we need to reread the state of the model |
1877 // the number of sections changed; we need to reread the state of the model |
1878 if (sectionCountChanged) |
1878 if (sectionCountChanged) |
1879 q->initializeSections(); |
1879 q->initializeSections(); |