Browse files

Merge branch 'master' of https://github.com/openSUSE/one-click-installer

  • Loading branch information...
2 parents 824c55b + 12be611 commit 8e806a7af29de0b3310084e39fa7e0a35c3e44d0 @saurabhsood91 saurabhsood91 committed Sep 10, 2012
Showing with 5 additions and 4 deletions.
  1. +1 −1 src/mainwindow.cpp
  2. +4 −3 src/repositorywidget.cpp
View
2 src/mainwindow.cpp
@@ -115,7 +115,7 @@ void MainWindow::showSettings()
void MainWindow::performInstallation()
{
- if( m_settings.value( "proposal", 1 ).toInt() == 1 ) {
+ if( m_settings.value( "proposal" ).toInt() == 1 ) {
m_screenStack->setCurrentIndex( 1 );
} else {
m_screenStack->setCurrentIndex( 2 );
View
7 src/repositorywidget.cpp
@@ -58,11 +58,11 @@ RepositoryWidget::RepositoryWidget(PackageBackend *backend, int index, OCI::Repo
setLayout( mainLayout );
- if( m_settings.value( "showdetails", 1 ).toInt() == 1 ) {
+ m_visible = false;
+
+ if( m_settings.value( "showdetails" ).toInt() == 1 ) {
showDetails( QString( "%1" ).arg( index ) );
}
-
- m_visible = false;
}
void RepositoryWidget::showDetails( QString link )
@@ -104,6 +104,7 @@ void RepositoryWidget::showDetails( QString link )
m_fingerprint->show();
m_created->show();
m_expires->show();
+ m_id->show();
m_detailsVisible = true;

0 comments on commit 8e806a7

Please sign in to comment.