diff options
Diffstat (limited to 'src/notefactory.cpp')
-rw-r--r-- | src/notefactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notefactory.cpp b/src/notefactory.cpp index 4d1c5a3..6e57377 100644 --- a/src/notefactory.cpp +++ b/src/notefactory.cpp @@ -922,7 +922,7 @@ TQString NoteFactory::iconForCommand(const TQString &command) // 1. Use first word as icon (typically the program without argument) icon = TQStringList::split(' ', command).first(); // 2. If the command is a full path, take only the program file name - icon = icon.mid(icon.tqfindRev('/') + 1); // strip path if given [But it doesn't care of such + icon = icon.mid(icon.findRev('/') + 1); // strip path if given [But it doesn't care of such // "myprogram /my/path/argument" -> return "argument". Would // must first strip first word and then strip path... Useful ?? // 3. Use characters before any '-' (e.g. use "gimp" icon if run command is "gimp-1.3") |