mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Remove some MainWindow::sessionController() calls.
This commit is contained in:
@@ -504,10 +504,12 @@ void Autocomplete::submitValue(const QString &value) {
|
||||
|
||||
ConfirmContactBox::ConfirmContactBox(
|
||||
QWidget*,
|
||||
not_null<Window::SessionController*> controller,
|
||||
not_null<History*> history,
|
||||
const Contact &data,
|
||||
Fn<void(Qt::KeyboardModifiers)> submit)
|
||||
: _comment(GenerateCommentItem(this, history, data))
|
||||
: SimpleElementDelegate(controller)
|
||||
, _comment(GenerateCommentItem(this, history, data))
|
||||
, _contact(GenerateContactItem(this, history, data))
|
||||
, _submit(submit) {
|
||||
}
|
||||
|
Reference in New Issue
Block a user