2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-03 08:05:12 +00:00

Remove namespace App.

This commit is contained in:
John Preston
2022-11-30 17:28:09 +04:00
parent 01139e1b04
commit ad3f8e72a0
24 changed files with 80 additions and 74 deletions

View File

@@ -724,13 +724,3 @@ void MainWindow::sendPaths() {
}
MainWindow::~MainWindow() = default;
namespace App {
MainWindow *wnd() {
return (Core::IsAppLaunched() && Core::App().primaryWindow())
? Core::App().primaryWindow()->widget().get()
: nullptr;
}
} // namespace App