From: Thiago Macieira Date: Wed, 1 Aug 2012 15:10:20 +0000 (+0200) Subject: QHeaderView::setResizeMode is deprecated. X-Git-Tag: accepted/tizen/20131212.181521~266 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a5215e0f3fa05e2a78d56329ecbdfb775aae80c9;p=platform%2Fupstream%2Fqttools.git QHeaderView::setResizeMode is deprecated. Replace with the Qt 5 name setSectionResizeMode. Change-Id: I908e669708c3595f110e41774475eea4cbdb7325 Reviewed-by: Stephen Kelly --- diff --git a/src/linguist/linguist/phrasebookbox.cpp b/src/linguist/linguist/phrasebookbox.cpp index 7812e17..df47230 100644 --- a/src/linguist/linguist/phrasebookbox.cpp +++ b/src/linguist/linguist/phrasebookbox.cpp @@ -79,7 +79,7 @@ PhraseBookBox::PhraseBookBox(PhraseBook *phraseBook, QWidget *parent) phraseList->setModel(m_sortedPhraseModel); phraseList->header()->setDefaultSectionSize(150); - phraseList->header()->setResizeMode(QHeaderView::Interactive); + phraseList->header()->setSectionResizeMode(QHeaderView::Interactive); connect(sourceLed, SIGNAL(textChanged(QString)), this, SLOT(sourceChanged(QString)));