projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf9e7b9
)
Cleanup: use bitmap_path().
author
Carl Hetherington
<cth@carlh.net>
Sun, 6 Jun 2021 10:57:45 +0000
(12:57 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 6 Jun 2021 10:57:45 +0000
(12:57 +0200)
src/tools/dcpomatic_server.cc
patch
|
blob
|
history
diff --git
a/src/tools/dcpomatic_server.cc
b/src/tools/dcpomatic_server.cc
index 4039a07ed3702e67df0bc3370386b95a64fe6312..be0f05ea1f9f9ffc78d0e4f5ba1afdc6372b49e8 100644
(file)
--- a/
src/tools/dcpomatic_server.cc
+++ b/
src/tools/dcpomatic_server.cc
@@
-217,7
+217,7
@@
public:
#ifdef DCPOMATIC_WINDOWS
wxIcon icon (std_to_wx ("id"));
#else
- wxBitmap bitmap (
wxString::Format(wxT("%s/dcpomatic_small.png"), std_to_wx(resources_path().string())
), wxBITMAP_TYPE_PNG);
+ wxBitmap bitmap (
bitmap_path("dcpomatic_small"
), wxBITMAP_TYPE_PNG);
wxIcon icon;
icon.CopyFromBitmap (bitmap);
#endif