~ubuntu-branches/ubuntu/saucy/bibletime/saucy-proposed

« back to all changes in this revision

Viewing changes to src/frontend/cmdiarea.cpp

  • Committer: Package Import Robot
  • Author(s): Dmitrijs Ledkovs
  • Date: 2013-08-12 21:02:54 UTC
  • mfrom: (1.3.8)
  • Revision ID: package-import@ubuntu.com-20130812210254-oumj97t1gqs2g8nb
Tags: 2.9.2-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
        QObject* parent = tab->parent();
125
125
        if (parent == this) {
126
126
            tab->setTabsClosable(true);
 
127
// As of version 4.8, Qt does the close for us.
 
128
#if QT_VERSION < 0x040800
127
129
            disconnect(tab, SIGNAL(tabCloseRequested(int)), this, SLOT(closeTab(int)));
128
130
            connect(tab, SIGNAL(tabCloseRequested(int)), this, SLOT(closeTab(int)));
 
131
#endif
129
132
        }
130
133
    }
131
134
}