userguide/src/HelpCategoryView.cpp
changeset 37 4eefeeb3cd2d
parent 27 0a93cba9d57a
child 50 024e23fdab18
equal deleted inserted replaced
36:b29c02149a27 37:4eefeeb3cd2d
   111 		}
   111 		}
   112 		updateExpandCollapseAction(mExpandCount == 0);
   112 		updateExpandCollapseAction(mExpandCount == 0);
   113         return;
   113         return;
   114     }
   114     }
   115 
   115 
   116     QString uid = mListAll->model()->data(index.parent(), UidRole).toString();
   116 	QString uid = mListAll->model()->data(index, UidRole).toString();
   117     QString href = mListAll->model()->data(index, HrefRole).toString();
   117     QString href = mListAll->model()->data(index, HrefRole).toString();
   118     HelpDataProvider::instance()->setHelpContentUrl(uid, href);
   118     HelpDataProvider::instance()->setHelpContentUrl(uid, href);
   119     emit activateView(HelpViewContents);
   119     emit activateView(HelpViewContents);
   120 }
   120 }
   121 
   121