summaryrefslogtreecommitdiff
path: root/noncore/settings/aqpkg/mainwin.cpp
Unidiff
Diffstat (limited to 'noncore/settings/aqpkg/mainwin.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/aqpkg/mainwin.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/noncore/settings/aqpkg/mainwin.cpp b/noncore/settings/aqpkg/mainwin.cpp
index 0efa1e0..45a6663 100644
--- a/noncore/settings/aqpkg/mainwin.cpp
+++ b/noncore/settings/aqpkg/mainwin.cpp
@@ -1054,7 +1054,7 @@ InstallData *MainWindow :: dealWithItem( QCheckListItem *item )
1054 caption = tr( "Do you wish to remove or reinstall\n%1?" ); 1054 caption = tr( "Do you wish to remove or reinstall\n%1?" );
1055 text = tr( "Remove or ReInstall" ); 1055 text = tr( "Remove or ReInstall" );
1056 secondButton = tr( "ReInstall" ); 1056 secondButton = tr( "ReInstall" );
1057 secondOption = tr( "R" ); 1057 secondOption = "R"; // Internal action code, do not translate
1058 } 1058 }
1059 else if ( val == 1 ) 1059 else if ( val == 1 )
1060 { 1060 {
@@ -1062,7 +1062,7 @@ InstallData *MainWindow :: dealWithItem( QCheckListItem *item )
1062 caption = tr( "Do you wish to remove or upgrade\n%1?" ); 1062 caption = tr( "Do you wish to remove or upgrade\n%1?" );
1063 text = tr( "Remove or Upgrade" ); 1063 text = tr( "Remove or Upgrade" );
1064 secondButton = tr( "Upgrade" ); 1064 secondButton = tr( "Upgrade" );
1065 secondOption = tr( "U" ); 1065 secondOption = "U"; // Internal action code, do not translate
1066 } 1066 }
1067 1067
1068 // Sticky option not implemented yet, but will eventually allow 1068 // Sticky option not implemented yet, but will eventually allow
@@ -1071,8 +1071,6 @@ InstallData *MainWindow :: dealWithItem( QCheckListItem *item )
1071 { 1071 {
1072 QString msgtext; 1072 QString msgtext;
1073 msgtext = caption.arg( ( const char * )name ); 1073 msgtext = caption.arg( ( const char * )name );
1074// switch( QMessageBox::information( this, text,
1075// msgtext, tr( "Remove" ), secondButton ) )
1076 QuestionDlg dlg( text, msgtext, secondButton ); 1074 QuestionDlg dlg( text, msgtext, secondButton );
1077 switch( dlg.exec() ) 1075 switch( dlg.exec() )
1078 { 1076 {