mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fixed indents in some files.
This commit is contained in:
parent
3adbfb1fb5
commit
88b20f6700
34 changed files with 50 additions and 48 deletions
|
@ -537,7 +537,8 @@ HANDLE _generateDumpFileAtPath(const WCHAR *path) {
|
|||
|
||||
GetLocalTime(&stLocalTime);
|
||||
|
||||
wsprintf(szFileName, L"%s%s-%s-%04d%02d%02d-%02d%02d%02d-%ld-%ld.dmp",
|
||||
wsprintf(
|
||||
szFileName, L"%s%s-%s-%04d%02d%02d-%02d%02d%02d-%ld-%ld.dmp",
|
||||
szPath, szExeName, updaterVersionStr,
|
||||
stLocalTime.wYear, stLocalTime.wMonth, stLocalTime.wDay,
|
||||
stLocalTime.wHour, stLocalTime.wMinute, stLocalTime.wSecond,
|
||||
|
|
|
@ -182,7 +182,7 @@ void ClosePlaybackDevice(not_null<Instance*> instance) {
|
|||
|
||||
} // namespace
|
||||
|
||||
// Thread: Main.
|
||||
// Thread: Main.
|
||||
void Start(not_null<Instance*> instance) {
|
||||
Assert(AudioDevice == nullptr);
|
||||
|
||||
|
|
|
@ -143,7 +143,7 @@ Sibling::LoaderVideo::LoaderVideo(
|
|||
Fn<void()> update)
|
||||
: _video(video)
|
||||
, _origin(origin)
|
||||
, _update(std::move( update))
|
||||
, _update(std::move(update))
|
||||
, _media(_video->createMediaView()) {
|
||||
_media->goodThumbnailWanted();
|
||||
}
|
||||
|
|
|
@ -306,7 +306,8 @@ void objc_start() {
|
|||
|
||||
_sharedDelegate = [[ApplicationDelegate alloc] init];
|
||||
[[NSApplication sharedApplication] setDelegate:_sharedDelegate];
|
||||
[[[NSWorkspace sharedWorkspace] notificationCenter] addObserver: _sharedDelegate
|
||||
[[[NSWorkspace sharedWorkspace] notificationCenter]
|
||||
addObserver: _sharedDelegate
|
||||
selector: @selector(receiveWakeNote:)
|
||||
name: NSWorkspaceDidWakeNotification object: NULL];
|
||||
}
|
||||
|
|
|
@ -172,7 +172,7 @@ EditFlagsDescriptor<PowerSaving::Flags> PowerSavingLabels() {
|
|||
{ tr::lng_settings_power_emoji(), std::move(emoji) },
|
||||
{ tr::lng_settings_power_chat(), std::move(chat) },
|
||||
{ std::nullopt, std::move(calls) },
|
||||
{ std::nullopt, std::move(animations), },
|
||||
{ std::nullopt, std::move(animations) },
|
||||
}, .st = &st::powerSavingButton };
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue