release 0.6.7 (see the debian changelog for a proper list of changes)
[fapman] / packageview.cpp
index f50f115..73d0dd7 100644 (file)
@@ -260,6 +260,7 @@ PackageView::PackageView(QWidget *parent) : QMainWindow(parent), ui(new Ui::Pack
        iSearchDescLong = false;
 
        // fine-tune kinetic scrolling parameters
+#ifdef Q_WS_MAEMO_5
        QAbstractKineticScroller* listscroller = ui->listWidget->property("kineticScroller").value<QAbstractKineticScroller*>();
        if( listscroller )
        {
@@ -272,6 +273,7 @@ PackageView::PackageView(QWidget *parent) : QMainWindow(parent), ui(new Ui::Pack
                // not good because it alse sets horizontal overshoot:
                //listscroller->setOvershootPolicy( QAbstractKineticScroller::OvershootAlwaysOn );
        }
+#endif
 }
 
 PackageView::~PackageView()
@@ -730,6 +732,14 @@ void PackageView::on_btn_CategoryFilter_clicked()
                iSortNoticeShown = false;
 
                openWin();
+
+               if( iSelectedCatFilter==CatFilterBlacklisted && iAptInterface->needListOrDateRefresh() )
+               {
+                       ConfirmDialog d(false, this);
+                       d.setText("Notice","Since you don't have all package lists currently loaded, not all blacklisted "
+                                         "packages are necessarily shown");
+                       d.exec();
+               }
        }
 }
 
@@ -761,6 +771,8 @@ void PackageView::on_btn_StatusFilter_clicked()
                if( oldfilter==Package::PkgStatInstalled && iSelectedStatFilter!=Package::PkgStatInstalled &&
                        iAptInterface->needListOrDateRefresh() )
                {
+                       iMainWindow->openNetworkConnection();
+
                        iMainWindow->setNextOperation(MainWindow::OpOpenPkgView);
                        iMainWindow->busyDialog(true,"Operation in progress","Reading the rest of the package lists");