Fix build with GCC.
This commit is contained in:
parent
6294dd74d2
commit
2f21e92bbe
1 changed files with 1 additions and 2 deletions
|
|
@ -207,7 +207,7 @@ public:
|
||||||
[[nodiscard]] bool changed() const {
|
[[nodiscard]] bool changed() const {
|
||||||
return _changed;
|
return _changed;
|
||||||
}
|
}
|
||||||
[[nodiscrd]] QString currentTag() const {
|
[[nodiscard]] QString currentTag() const {
|
||||||
return _currentTagId;
|
return _currentTagId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1393,7 +1393,6 @@ QSizeF CustomEmojiObject::intrinsicSize(
|
||||||
QTextDocument *doc,
|
QTextDocument *doc,
|
||||||
int posInDocument,
|
int posInDocument,
|
||||||
const QTextFormat &format) {
|
const QTextFormat &format) {
|
||||||
const auto factor = style::DevicePixelRatio() * 1.;
|
|
||||||
const auto size = st::emojiSize * 1.;
|
const auto size = st::emojiSize * 1.;
|
||||||
const auto width = size + st::emojiPadding * 2.;
|
const auto width = size + st::emojiPadding * 2.;
|
||||||
const auto font = format.toCharFormat().font();
|
const auto font = format.toCharFormat().font();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue