Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
apper
0014-Fix-browsing-groups.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0014-Fix-browsing-groups.patch of Package apper
From a321e5c359d367bd7ffa0a11124afb91d945a238 Mon Sep 17 00:00:00 2001 From: Daniel Nicoletti <dantti12@gmail.com> Date: Thu, 17 Jan 2013 11:34:13 -0200 Subject: [PATCH 14/14] Fix browsing groups --- ApperKCM/ApperKCM.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ApperKCM/ApperKCM.cpp b/ApperKCM/ApperKCM.cpp index 339aee3..b18caec 100644 --- a/ApperKCM/ApperKCM.cpp +++ b/ApperKCM/ApperKCM.cpp @@ -412,7 +412,8 @@ void ApperKCM::on_homeView_activated(const QModelIndex &index) } } else { m_searchGroupCategory.clear(); - m_searchGroup = index.data(CategoryModel::GroupRole).value<PackageKit::Transaction::Group>(); + int groupRole = index.data(CategoryModel::GroupRole).toInt(); + m_searchGroup = static_cast<PackageKit::Transaction::Group>(groupRole); m_searchString = index.data().toString(); // Store the nice name to change the title } } else if (m_searchRole == Transaction::RoleGetUpdates) { -- 1.8.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor