From 6d74bae8a11865d0d3d373781de6cc95682f5cc4 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 2 Jan 2012 10:13:06 -0600 Subject: Add icon request ability --- tdelfeditor/tdelfeditor.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tdelfeditor') 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 { -- cgit v1.2.1