mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Allow Info::Media::ListWidget use different data providers.
This commit is contained in:
@@ -53,9 +53,9 @@ public:
|
||||
TextSelection selection,
|
||||
const PaintContext *context) = 0;
|
||||
|
||||
QDateTime dateTime() const;
|
||||
[[nodiscard]] QDateTime dateTime() const;
|
||||
|
||||
HistoryItem *getItem() const {
|
||||
[[nodiscard]] not_null<HistoryItem*> getItem() const {
|
||||
return _parent;
|
||||
}
|
||||
|
||||
@@ -79,7 +79,7 @@ protected:
|
||||
QPoint position,
|
||||
bool selected,
|
||||
const PaintContext *context);
|
||||
virtual const style::RoundCheckbox &checkboxStyle() const;
|
||||
[[nodiscard]] virtual const style::RoundCheckbox &checkboxStyle() const;
|
||||
|
||||
private:
|
||||
void ensureCheckboxCreated();
|
||||
|
Reference in New Issue
Block a user