Commit 5aca30ad authored by Tyler Wilson's avatar Tyler Wilson
Browse files

Chagned the alias reference to the data management icon from 'data' to...

Chagned the alias reference to the data management icon from 'data' to 'data-management'.  Fixes #3982

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/branches/ipce@7236 41f8697f-d340-4b68-9986-7bafba869bb8
parent 6d22eb55
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -760,10 +760,15 @@ namespace Isis {
   * Sets the text, icon, and data corresponding to a Project.
   *
   * @param[in] project (Project *) The Project.
   * @internal
   *     @history  2016-11-10 - Tyler Wilson  Changed the reference
   *               to the icon from ':data' to ':data-management'
   *               due to a naming conflict causing strange errors
   *               to appear on the command line.  Fixes #3982.   
   */
  void ProjectItem::setProject(Project *project) {
    setText( project->name() );
    setIcon( QIcon(":data") );
    setIcon( QIcon(":data-management") );
    setData( QVariant::fromValue<Project *>(project) );
  }

+6 −0
Original line number Diff line number Diff line
@@ -103,6 +103,12 @@ namespace Isis {
   *                             BundleSettingsQsp.
   *     @history 2016-07-25 Tracie Sucharksi - Added support for Shapes.
   *     @history 2016-08-25 Adam Paquette - Updated documentation. Fixes #4299.
   *     @history 2016-11-10 Tyler Wilson - Changed the alias reference to the 
   *                               the data management icon from 'data' to 
   *                               'data-management' in the setProject function.
   *                               A naming conflict was causing strange warnings 
   *                               to show up on the command line when cnetsuite is launched, 
   *                               and this fixed it.  Fixes #3982.
   */
  class ProjectItem : public QStandardItem {
    public: