Git commit 1a15d5e43fa8a512f970bfdf80d8b92823080343 by Jonathan Thomas.
Committed on 04/09/2011 at 22:38.
Pushed by jmthomas into branch '1.2'.

Fix a bug where installing a package from within the "More Details" view would 
not do
anything. When I added the addons installation capabilities, I must have 
accidentally
replaced the connection for the install-application-only signal when I added the
install-application-and-addons signal.

CCMAIL:841...@bugs.launchpad.net

M  +2    -0    installer/ApplicationModel/ApplicationViewWidget.cpp

http://commits.kde.org/muon/1a15d5e43fa8a512f970bfdf80d8b92823080343

diff --git a/installer/ApplicationModel/ApplicationViewWidget.cpp 
b/installer/ApplicationModel/ApplicationViewWidget.cpp
index 1986bb2..533f62e 100644
--- a/installer/ApplicationModel/ApplicationViewWidget.cpp
+++ b/installer/ApplicationModel/ApplicationViewWidget.cpp
@@ -153,6 +153,8 @@ void ApplicationViewWidget::infoButtonClicked(Application 
*app)
     m_detailsView->setApplication(app);
     m_currentPair.first = m_detailsView;
 
+    connect(m_detailsView, SIGNAL(installButtonClicked(Application*)),
+            this, SLOT(installButtonClicked(Application*)));
     connect(m_detailsView, SIGNAL(installButtonClicked(Application *, const 
QHash<QApt::Package *, QApt::Package::State> &)),
             this, SLOT(installButtonClicked(Application *, const 
QHash<QApt::Package *, QApt::Package::State> &)));
     connect(m_detailsView, SIGNAL(removeButtonClicked(Application *)),

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to muon in Ubuntu.
https://bugs.launchpad.net/bugs/841323

Title:
  Applications are never installer from the "More info" widget

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/muon/+bug/841323/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to