mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Fix finding of splash file and display in About dialog
This commit is contained in:
parent
4950bdaf16
commit
2637aaee23
1 changed files with 2 additions and 1 deletions
|
|
@ -585,8 +585,9 @@ About::About ()
|
|||
std::string splash_file;
|
||||
|
||||
Searchpath spath(ardour_data_search_path());
|
||||
spath.add_subdirectory_to_paths ("resources");
|
||||
|
||||
if (find_file (spath, "splash.png", splash_file)) {
|
||||
if (find_file (spath, PROGRAM_NAME "-splash.png", splash_file)) {
|
||||
set_logo (Gdk::Pixbuf::create_from_file (splash_file));
|
||||
} else {
|
||||
error << "Could not find splash file" << endmsg;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue