mirror of
https://github.com/vale981/tdesktop
synced 2025-03-05 17:51:41 -05:00
Alpha 1.0.10: fix clang/GCC and old OS X build.
This commit is contained in:
parent
7adfe93a8d
commit
695733f520
2 changed files with 10 additions and 2 deletions
|
@ -78,6 +78,12 @@ DialogsInner::DialogsInner(QWidget *parent, QWidget *main) : SplittedWidget(pare
|
|||
, _a_pinnedShifting(animation(this, &DialogsInner::step_pinnedShifting))
|
||||
, _addContactLnk(this, lang(lng_add_contact_button))
|
||||
, _cancelSearchInPeer(this, st::dialogsCancelSearchInPeer) {
|
||||
|
||||
#ifdef OS_MAC_OLD
|
||||
// Qt 5.3.2 build is working with glitches otherwise.
|
||||
setAttribute(Qt::WA_OpaquePaintEvent, false);
|
||||
#endif // OS_MAC_OLD
|
||||
|
||||
if (Global::DialogsModeEnabled()) {
|
||||
_dialogsImportant = std_::make_unique<Dialogs::IndexedList>(Dialogs::SortMode::Date);
|
||||
_importantSwitch = std_::make_unique<ImportantSwitch>();
|
||||
|
|
|
@ -134,7 +134,8 @@ public:
|
|||
};
|
||||
Q_DECLARE_FLAGS(Flags, Flag);
|
||||
|
||||
StateRequest() = default;
|
||||
StateRequest() {
|
||||
}
|
||||
|
||||
style::align align = style::al_left;
|
||||
Flags flags = Flag::LookupLink;
|
||||
|
@ -150,7 +151,8 @@ public:
|
|||
return getState(rtl() ? (outerw - x - width) : x, y, width, request);
|
||||
}
|
||||
struct StateRequestElided : public StateRequest {
|
||||
StateRequestElided() = default;
|
||||
StateRequestElided() {
|
||||
}
|
||||
StateRequestElided(const StateRequest &other) : StateRequest(other) {
|
||||
}
|
||||
int lines = 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue