2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

New profiles Xcode build ready, couple of retina-support bugs fixed.

This commit is contained in:
John Preston
2016-06-06 14:35:49 +03:00
parent 4ef5596fbc
commit 1c0548d1e8
14 changed files with 685 additions and 368 deletions

View File

@@ -27,6 +27,8 @@ class SectionWidget;
class SectionMemento {
public:
virtual SectionWidget *createWidget(QWidget *parent, const QRect &geometry) const = 0;
virtual ~SectionMemento() {
}
};

View File

@@ -62,7 +62,7 @@ public:
// Attempt to show the required section inside the existing one.
// For example if this section already shows exactly the required
// memento it can simply return true - it is shown already.
virtual bool showInternal(SectionMemento *memento) = 0;
virtual bool showInternal(const SectionMemento *memento) = 0;
// Create a memento of that section to store it in the history stack.
virtual std_::unique_ptr<SectionMemento> createMemento() const = 0;