1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 16:25:06 +00:00

Applications: Use "Document - AppName" window title format

Fixes #1444
This commit is contained in:
Tibor Nagy 2020-03-13 23:21:35 +01:00 committed by Andreas Kling
parent b4381be0ba
commit f347dd5c5e
10 changed files with 10 additions and 10 deletions

View file

@ -142,7 +142,7 @@ void SoundPlayerWidget::open_file(String path)
m_play->set_enabled(true);
m_stop->set_enabled(true);
m_window.set_title(String::format("SoundPlayer - \"%s\"", loader->file()->filename().characters()));
m_window.set_title(String::format("%s - SoundPlayer", loader->file()->filename().characters()));
m_status->set_text(String::format(
"Sample rate %uHz, %u %s, %u bits per sample",
loader->sample_rate(),