diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-02 10:13:06 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-02 10:13:06 -0600 |
commit | 6d74bae8a11865d0d3d373781de6cc95682f5cc4 (patch) | |
tree | c25cebab1bcd8c11d9ebe1ad402681385469da97 /tdelfeditor | |
parent | c5bca102dd4e45626e1e76b0684ef065935918ed (diff) | |
download | tdelibs-6d74bae8a11865d0d3d373781de6cc95682f5cc4.tar.gz tdelibs-6d74bae8a11865d0d3d373781de6cc95682f5cc4.zip |
Add icon request ability
Diffstat (limited to 'tdelfeditor')
-rw-r--r-- | tdelfeditor/tdelfeditor.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tdelfeditor/tdelfeditor.cpp b/tdelfeditor/tdelfeditor.cpp index 4515474c6..a3ba789c5 100644 --- a/tdelfeditor/tdelfeditor.cpp +++ b/tdelfeditor/tdelfeditor.cpp @@ -496,7 +496,7 @@ int main_console(int argc, char **argv) } break; case MODE_SET_EMPTY_UUID: section = ICON_SECTION; - clear_resource(handle, section); + clear_resource(handle, section); if(!libr_icon_setuuid(handle, "00000000-0000-0000-0000-000000000000")) { @@ -549,6 +549,8 @@ int main_console(int argc, char **argv) if (systemIcon.isNull()) { systemIcon = KGlobal::iconLoader()->iconPath(argv[PARAM_ICON_NAME], 0, false); printf("NOT FOUND, refusing to add unknown icon (this message is harmless)\n\r"); + section = ICON_SECTION; + clear_resource(handle, section); goto fail; } else { |