~adamreichold/qpdfview/trunk

« back to all changes in this revision

Viewing changes to sources/mainwindow.cpp

  • Committer: Adam Reichold
  • Date: 2017-05-01 20:35:45 UTC
  • Revision ID: adam.reichold@t-online.de-20170501203545-qsya82y2ace16x2b
Fix building with Qt4 after latest round of merges.

Show diffs side-by-side

added added

removed removed

Lines of Context:
243
243
    {
244
244
        for(int index = 0, count = splitter->count(); index < count; ++index)
245
245
        {
246
 
            tabs.append(findAllTabs(splitter->widget(index)));
 
246
            tabs += findAllTabs(splitter->widget(index));
247
247
        }
248
248
    }
249
249
 
1820
1820
    {
1821
1821
        if(index != thisIndex)
1822
1822
        {
1823
 
            tabs.append(allTabs(index));
 
1823
            tabs += allTabs(index);
1824
1824
        }
1825
1825
    }
1826
1826
 
1833
1833
 
1834
1834
    for(int index = 0; index < ofIndex; ++index)
1835
1835
    {
1836
 
        tabs.append(allTabs(index));
 
1836
        tabs += allTabs(index);
1837
1837
    }
1838
1838
 
1839
1839
    on_closeTabs_triggered(tabs);
1845
1845
 
1846
1846
    for(int index = ofIndex + 1, count = m_tabWidget->count(); index < count; ++index)
1847
1847
    {
1848
 
        tabs.append(allTabs(index));
 
1848
        tabs += allTabs(index);
1849
1849
    }
1850
1850
 
1851
1851
    on_closeTabs_triggered(tabs);
2686
2686
 
2687
2687
    for(int index = 0, count = m_tabWidget->count(); index < count; ++index)
2688
2688
    {
2689
 
        tabs.append(allTabs(index));
 
2689
        tabs += allTabs(index);
2690
2690
    }
2691
2691
 
2692
2692
    return tabs;