projects
/
platform
/
upstream
/
qttools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5db36bd
)
QHeaderView::setResizeMode is deprecated.
author
Thiago Macieira
<thiago.macieira@intel.com>
Wed, 1 Aug 2012 15:10:20 +0000
(17:10 +0200)
committer
Qt by Nokia
<qt-info@nokia.com>
Wed, 1 Aug 2012 16:03:27 +0000
(18:03 +0200)
Replace with the Qt 5 name setSectionResizeMode.
Change-Id: I908e669708c3595f110e41774475eea4cbdb7325
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
src/linguist/linguist/phrasebookbox.cpp
patch
|
blob
|
history
diff --git
a/src/linguist/linguist/phrasebookbox.cpp
b/src/linguist/linguist/phrasebookbox.cpp
index
7812e17
..
df47230
100644
(file)
--- 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()->set
Section
ResizeMode(QHeaderView::Interactive);
connect(sourceLed, SIGNAL(textChanged(QString)),
this, SLOT(sourceChanged(QString)));