QStaticText's constructor with const QString & as argument is now explicit.
Details
Details
- Reviewers
cfeck - Group Reviewers
Dolphin KDE Applications - Commits
- R318:c96efc7ccba6: Fix build with Qt 5.10
Did not build before, now does.
Note that this might change the behaviour as the other properties of m_text are now
kept, which was not the case before. I'm not sure what the expected behaviour here
is supposed to be.
Diff Detail
Diff Detail
- Repository
- R318 Dolphin
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
src/kitemviews/kstandarditemlistgroupheader.cpp | ||
---|---|---|
104 | Why not m_text = QStaticText(); ? |
src/kitemviews/kstandarditemlistgroupheader.cpp | ||
---|---|---|
104 | See the diff description:
|
src/kitemviews/kstandarditemlistgroupheader.cpp | ||
---|---|---|
104 | Right, the new behaviour might be better, indeed. (I don't see why we should reset the tex format and performance hint properties, just because we want to clear the text property). |