diff options
Diffstat (limited to 'krename/profiledlg.cpp')
-rw-r--r-- | krename/profiledlg.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/krename/profiledlg.cpp b/krename/profiledlg.cpp index d0b5741..b92e985 100644 --- a/krename/profiledlg.cpp +++ b/krename/profiledlg.cpp @@ -500,7 +500,7 @@ void ProfileDlg::slotSetDefault() void ProfileDlg::slotLoadProfile() { TQString profile = profiles->currentText(); - TQString msg = TQString( i18n("Do you really want to load the profile and overwrite the current settings: %1") ).arg( profile ); + TQString msg = i18n("Do you really want to load the profile and overwrite the current settings: %1").arg( profile ); TQString path = getProfilePath( profile ); @@ -552,10 +552,10 @@ void ProfileDlg::slotDeleteProfile() KMessageBox::error( this, i18n("You cannot delete default profiles!") ); return; } - + TQString profile = profiles->currentText(); - TQString msg = TQString( i18n("Do you really want to delete the profile: %1") ).arg( profile ); - + TQString msg = i18n("Do you really want to delete the profile: %1").arg( profile ); + if( KMessageBox::questionYesNo( this, msg ) == KMessageBox::Yes ) { TQString path = readProfilePath( profile ); |