mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Refactored dialogs structs.
Moved DialogRow, FakeDialogRow, DialogsList and DialogsIndexed from history module to dialogs/ folder, for all struct -> class.
This commit is contained in:
@@ -1363,11 +1363,11 @@ void MainWidget::clearSelectedItems() {
|
||||
}
|
||||
}
|
||||
|
||||
DialogsIndexed &MainWidget::contactsList() {
|
||||
Dialogs::IndexedList *MainWidget::contactsList() {
|
||||
return dialogs.contactsList();
|
||||
}
|
||||
|
||||
DialogsIndexed &MainWidget::dialogsList() {
|
||||
Dialogs::IndexedList *MainWidget::dialogsList() {
|
||||
return dialogs.dialogsList();
|
||||
}
|
||||
|
||||
@@ -2653,7 +2653,7 @@ QRect MainWidget::historyRect() const {
|
||||
return r;
|
||||
}
|
||||
|
||||
void MainWidget::dlgUpdated(DialogRow *row) {
|
||||
void MainWidget::dlgUpdated(Dialogs::Row *row) {
|
||||
if (row) {
|
||||
dialogs.dlgUpdated(row);
|
||||
} else if (_peerInStack) {
|
||||
|
Reference in New Issue
Block a user