userguide/src/HelpCategoryView.cpp
changeset 39 30223e2ae041
parent 34 4533d75b8d4e
equal deleted inserted replaced
34:4533d75b8d4e 39:30223e2ae041
   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