X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=radiant%2Fplugintoolbar.cpp;h=e06491d8f31f259690ec5f91025a4dc749e91880;hb=d052c83e50a258421e1f51ac99b135b403c18989;hp=aea1b321b837528586c445ff417f1724b8afde58;hpb=cd6613e5171544b68d4ae70546c90a15c99b22a5;p=xonotic%2Fnetradiant.git diff --git a/radiant/plugintoolbar.cpp b/radiant/plugintoolbar.cpp index aea1b321..e06491d8 100644 --- a/radiant/plugintoolbar.cpp +++ b/radiant/plugintoolbar.cpp @@ -42,13 +42,13 @@ ui::Image new_plugin_image( const char* filename ){ { StringOutputStream fullpath( 256 ); - fullpath << AppPath_get() << g_pluginsDir << "bitmaps/" << filename; + fullpath << DataPath_get() << g_pluginsDir << "bitmaps/" << filename; if ( auto image = image_new_from_file_with_mask(fullpath.c_str()) ) return image; } { StringOutputStream fullpath( 256 ); - fullpath << AppPath_get() << g_modulesDir << "bitmaps/" << filename; + fullpath << DataPath_get() << g_modulesDir << "bitmaps/" << filename; if ( auto image = image_new_from_file_with_mask(fullpath.c_str()) ) return image; }