-rw-r--r-- | noncore/unsupported/oipkg/packagelistview.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/noncore/unsupported/oipkg/packagelistview.cpp b/noncore/unsupported/oipkg/packagelistview.cpp index 36d081b..26b1ce7 100644 --- a/noncore/unsupported/oipkg/packagelistview.cpp +++ b/noncore/unsupported/oipkg/packagelistview.cpp | |||
@@ -64,6 +64,13 @@ void PackageListView::showPopup() | |||
64 | connect( destsMenu, SIGNAL( activated( int ) ), | 64 | connect( destsMenu, SIGNAL( activated( int ) ), |
65 | this, SLOT( changePackageDest( int ) ) ); | 65 | this, SLOT( changePackageDest( int ) ) ); |
66 | }else{ | 66 | }else{ |
67 | popupAction = new QAction( QObject::tr("Remove"),QString::null, 0, this, 0 ); | ||
68 | popupAction->addTo( popupMenu ); | ||
69 | connect( popupAction, SIGNAL( activated() ), | ||
70 | this , SLOT( toggleProcess() ) ); | ||
71 | popupAction = new QAction( QObject::tr("Reinstall"),QString::null, 0, this, 0 ); | ||
72 | popupAction->addTo( popupMenu ); | ||
73 | popupAction->setEnabled( false ); | ||
67 | } | 74 | } |
68 | popupMenu->popup( QCursor::pos() ); | 75 | popupMenu->popup( QCursor::pos() ); |
69 | } | 76 | } |