[OpenWalnut-Dev] [OWci] r7169: [FIX] now the module tooltip displays the META-file description

Alexander Wiebel wiebel at informatik.uni-leipzig.de
Tue Aug 5 15:54:47 CEST 2014


Dann sollte man also in Modulen, die eine META-Datei haben besser keine
getDescription() implementieren, oder? ... DRY-Prinzip?

Gruß Alex

On 08/05/2014 03:07 PM, Sebastian Eichelbaum wrote:
> *Branch OpenWalnut_1.4*
> [FIX] now the module tooltip displays the META-file description
> 
> changeset 7169:f4cb3cdc00d3 in /srv/hg/ow (Tue Aug 05 14:19:36 2014 +0200):
> 
> http://www.openwalnut.org/projects/openwalnut/repository/revisions/7169
> 
> diffstat:
> 
>  src/qt4gui/controlPanel/WQtTreeItem.cpp |  2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diffs (12 lines):
> 
> diff -r 08b0f976b010 -r f4cb3cdc00d3 src/qt4gui/controlPanel/WQtTreeItem.cpp
> --- a/src/qt4gui/controlPanel/WQtTreeItem.cpp	Mon Jul 07 11:01:46 2014 +0200
> +++ b/src/qt4gui/controlPanel/WQtTreeItem.cpp	Tue Aug 05 14:19:36 2014 +0200
> @@ -157,7 +157,7 @@
>      conList += "</table>";
>  
>      tooltip += conCount ? "Yes" + conList + "<br/><br/>" : "None<br/>";
> -    tooltip += "<b>Module Description: </b><br/>" + module->getDescription();
> +    tooltip += "<b>Module Description: </b><br/>" + module->getMetaInformation()->getDescription();
>  
>      return tooltip;
>  }
> _______________________________________________
> All-openwalnut-commits mailing list
> All-openwalnut-commits at lists.informatik.uni-leipzig.de
> http://lists.informatik.uni-leipzig.de/mailman/listinfo/all-openwalnut-commits
> 



More information about the OpenWalnut-Dev mailing list