1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 22:17:42 +00:00

LibCore+LibGUI: Move DesktopServices to LibCore

This commit is contained in:
Sergey Bugaev 2020-04-19 10:30:33 +03:00 committed by Andreas Kling
parent 03f2024b6e
commit f8b2a7b4a7
6 changed files with 8 additions and 8 deletions

View file

@ -28,7 +28,7 @@
#include <AK/FileSystemPath.h>
#include <AK/StringBuilder.h>
#include <AK/URL.h>
#include <LibGUI/DesktopServices.h>
#include <LibCore/DesktopServices.h>
#include <LibGUI/SortingProxyModel.h>
#include <stdio.h>
#include <unistd.h>
@ -70,7 +70,7 @@ void DirectoryView::handle_activation(const GUI::ModelIndex& index)
return;
}
GUI::DesktopServices::open(URL::create_with_file_protocol(path));
Core::DesktopServices::open(URL::create_with_file_protocol(path));
}
DirectoryView::DirectoryView()