> On Nov. 1, 2011, 3:07 p.m., Aaron J. Seigo wrote: > > libs/taskmanager/taskitem.cpp, line 362 > > <http://git.reviewboard.kde.org/r/103007/diff/1/?file=39957#file39957line362> > > > > in which cases would the mapping not be saved (e.g. saveMapping == > > false)? > > Craig Drummond wrote: > In another patch (not done yet), LauncherItem::associateItemIfMatches() > calls setLauncherUrl on the task. But as this was not done by the user, I > didnt want to save the mapping. > > Aaron J. Seigo wrote: > ah! well, this could be accomplished with a > LauncherItem::setLauncherUrl(LauncherItem *item) overload. code duplication > would be minimal (just the first 4 lines of code, really) and the API would > be clearer imo.
OK, no biggie. I'll refactor this. - Craig ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/103007/#review7801 ----------------------------------------------------------- On Oct. 31, 2011, 8:42 p.m., Craig Drummond wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://git.reviewboard.kde.org/r/103007/ > ----------------------------------------------------------- > > (Updated Oct. 31, 2011, 8:42 p.m.) > > > Review request for Plasma. > > > Description > ------- > > 1. If fail to automatically find launcher, then prompt user to select from > installed applications. > 2. Add a config page, so that manualy set launchers may be adjusted. > > (Part of IconTasks' taskmanager changes) > > > Diffs > ----- > > libs/taskmanager/CMakeLists.txt 57f5f73 > libs/taskmanager/groupmanager.h acaa142 > libs/taskmanager/groupmanager.cpp 6e7ffa7 > libs/taskmanager/kapplicationselectordialog.h PRE-CREATION > libs/taskmanager/kapplicationselectordialog.cpp PRE-CREATION > libs/taskmanager/launcherconfig.h PRE-CREATION > libs/taskmanager/launcherconfig.cpp PRE-CREATION > libs/taskmanager/launcherconfig.ui PRE-CREATION > libs/taskmanager/launcherproperties.h PRE-CREATION > libs/taskmanager/launcherproperties.cpp PRE-CREATION > libs/taskmanager/launcherproperties.ui PRE-CREATION > libs/taskmanager/taskactions.cpp 0e6ba8e > libs/taskmanager/taskitem.h 5de8478 > libs/taskmanager/taskitem.cpp 0a768e5 > > Diff: http://git.reviewboard.kde.org/r/103007/diff/diff > > > Testing > ------- > > > Thanks, > > Craig Drummond > >
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel