Qt: move open_dir to qt_utils

This commit is contained in:
Megamouse 2020-03-24 20:56:47 +01:00
parent 89514c043a
commit bd49ad358c
3 changed files with 42 additions and 28 deletions

View file

@ -56,5 +56,11 @@ namespace gui
// Loads the app icon from path and embeds it centered into an empty square icon
QIcon get_app_icon_from_path(const std::string& path, const std::string& title_id);
// Open a path in the explorer and mark the file
void open_dir(const std::string& spath);
// Open a path in the explorer and mark the file
void open_dir(const QString& path);
} // utils
} // gui