1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:27:43 +00:00

DisplaySettings: Remove the trailing dot from tooltip and window title

This commit is contained in:
Karol Kosek 2021-08-07 22:44:18 +02:00 committed by Andreas Kling
parent 4d477824e0
commit e2ad59ce06
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@
@GUI::Button {
name: "wallpaper_open_button"
tooltip: "Select wallpaper from file system."
tooltip: "Select wallpaper from file system"
text: "Browse..."
shrink_to_fit: true
}

View file

@ -61,7 +61,7 @@ void BackgroundSettingsWidget::create_frame()
auto& button = *find_descendant_of_type_named<GUI::Button>("wallpaper_open_button");
button.on_click = [this](auto) {
auto path = GUI::FilePicker::get_open_filepath(nullptr, "Select wallpaper from file system.", "/res/wallpapers");
auto path = GUI::FilePicker::get_open_filepath(nullptr, "Select wallpaper from file system", "/res/wallpapers");
if (!path.has_value())
return;
m_wallpaper_view->selection().clear();