Diffstat (limited to 'noncore/settings/packagemanager/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/packagemanager/mainwindow.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/noncore/settings/packagemanager/mainwindow.cpp b/noncore/settings/packagemanager/mainwindow.cpp index 05f21bc..8b374ab 100644 --- a/noncore/settings/packagemanager/mainwindow.cpp +++ b/noncore/settings/packagemanager/mainwindow.cpp | |||
@@ -46,14 +46,14 @@ | |||
46 | #include "installdlg.h" | 46 | #include "installdlg.h" |
47 | #include "filterdlg.h" | 47 | #include "filterdlg.h" |
48 | #include "promptdlg.h" | 48 | #include "promptdlg.h" |
49 | #include "entrydlg.h" | 49 | #include "entrydlg.h" |
50 | #include "packageinfodlg.h" | 50 | #include "packageinfodlg.h" |
51 | 51 | ||
52 | MainWindow::MainWindow( QWidget *parent, const char *name, WFlags fl ) | 52 | MainWindow::MainWindow( QWidget *parent, const char *name, WFlags /*fl*/ ) |
53 | : QMainWindow( parent, name, fl || WStyle_ContextHelp ) | 53 | : QMainWindow( parent, name, WStyle_ContextHelp ) |
54 | , m_config( "packman" ) | 54 | , m_config( "packman" ) |
55 | , m_packman( &m_config, this ) | 55 | , m_packman( &m_config, this ) |
56 | , m_menuBar( this ) | 56 | , m_menuBar( this ) |
57 | , m_toolBar( this ) | 57 | , m_toolBar( this ) |
58 | , m_findBar( this ) | 58 | , m_findBar( this ) |
59 | , m_widgetStack( this ) | 59 | , m_widgetStack( this ) |
@@ -672,12 +672,11 @@ void MainWindow::slotFindNext() | |||
672 | void MainWindow::slotDisplayPackageInfo( QListViewItem *packageItem ) | 672 | void MainWindow::slotDisplayPackageInfo( QListViewItem *packageItem ) |
673 | { | 673 | { |
674 | QString packageName( ( static_cast<QCheckListItem*>( packageItem ) )->text() ); | 674 | QString packageName( ( static_cast<QCheckListItem*>( packageItem ) )->text() ); |
675 | 675 | ||
676 | // Create package manager output widget | 676 | // Create package manager output widget |
677 | PackageInfoDlg *dlg = new PackageInfoDlg( this, &m_packman, packageName ); | 677 | PackageInfoDlg *dlg = new PackageInfoDlg( this, &m_packman, packageName ); |
678 | connect( dlg, SIGNAL(closeInfoDlg()), this, SLOT(slotCloseDlg()) ); | ||
679 | 678 | ||
680 | // Display widget | 679 | // Display widget |
681 | m_widgetStack.addWidget( dlg, 3 ); | 680 | m_widgetStack.addWidget( dlg, 3 ); |
682 | m_widgetStack.raiseWidget( dlg ); | 681 | m_widgetStack.raiseWidget( dlg ); |
683 | } | 682 | } |