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:
@@ -27,6 +27,8 @@ class SectionWidget;
|
||||
class SectionMemento {
|
||||
public:
|
||||
virtual SectionWidget *createWidget(QWidget *parent, const QRect &geometry) const = 0;
|
||||
virtual ~SectionMemento() {
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user