mirror of
https://github.com/mirror/jdownloader.git
synced 2024-11-23 03:59:51 +00:00
*General*
- IconKey: removed duplicated code git-svn-id: svn://svn.jdownloader.org/jdownloader/trunk@49847 ebf7c1c2-ba36-0410-9fe8-c592906822b4 Former-commit-id: e78dd56d2cee1190122e7bfa932324bd4ac0a4f8
This commit is contained in:
parent
509baa63a4
commit
8a51d37f97
@ -14,12 +14,13 @@ public class IconKey {
|
||||
while (!file.getName().equals("bin")) {
|
||||
file = file.getParentFile();
|
||||
}
|
||||
final File images;
|
||||
final String fpath;
|
||||
if (CrossSystem.isWindows()) {
|
||||
images = new File(file.getParentFile(), "themes\\themes\\standard\\org\\jdownloader\\images");
|
||||
fpath = "themes\\themes\\standard\\org\\jdownloader\\images";
|
||||
} else {
|
||||
images = new File(file.getParentFile(), "themes/themes/standard/org/jdownloader/images");
|
||||
fpath = "themes/themes/standard/org/jdownloader/images";
|
||||
}
|
||||
final File images = new File(file.getParentFile(), fpath);
|
||||
Files.walkThroughStructure(new org.appwork.utils.Files.AbstractHandler<RuntimeException>() {
|
||||
protected File root = null;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user