2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Move MediaView from MainWindow to Messenger.

This commit is contained in:
John Preston
2017-08-08 11:31:48 +02:00
parent fa818407e6
commit b08732cf28
28 changed files with 266 additions and 271 deletions

View File

@@ -160,7 +160,7 @@ namespace App {
MainWindow *wnd() {
if (auto instance = Messenger::InstancePointer()) {
return instance->mainWindow();
return instance->getActiveWindow();
}
return nullptr;
}