0.7.1
[fapman] / packageselector.cpp
index 580177e..fbc5bcc 100644 (file)
@@ -71,6 +71,7 @@ PackageSelector::PackageSelector(Package* pkg, AAptInterface* apt, Settings* set
                ui->radioTabBasic->setText("Info");
                ui->radioTabChanges->setText("Chgs");
                ui->radioTabDepends->setText("Deps");
+        ui->scrollAreaWidgetContents->setMaximumWidth( QApplication::desktop()->width() - 15 );
        }
 
        Package* upg_pkg = iPkg->availablePackage();
@@ -223,7 +224,7 @@ void PackageSelector::updateInfo()
        if( iPkg->isInstalled() && !iPkg->isUpgradeable() )
        {
                ui->radioInstall->setEnabled(false);
-               ui->radioInstall->hide();
+        ui->radioInstall->hide();
        } else if( !iPkg->isInstalled() ) {
                ui->radioRemove->setEnabled(false);
                ui->radioRemove->hide();
@@ -543,7 +544,7 @@ void PackageSelector::queryChangelog()
 
        if( !iNetworkAccessManager ) {
                iNetworkAccessManager = new QNetworkAccessManager(this);
-               connect(iNetworkAccessManager,SIGNAL(finished(QReply*)),this,SLOT(changelogFetchNetworkReply(QReply*)));
+        connect(iNetworkAccessManager,SIGNAL(finished(QNetworkReply*)),this,SLOT(changelogFetchNetworkReply(QNetworkReply*)));
 
                if( iSettings->qsettings()->value("use_proxies").toBool() && !iSettings->qsettings()->value("http_proxy").toString().isEmpty() )
                {