summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfmMenu.cpp19
1 files changed, 14 insertions, 5 deletions
diff --git a/noncore/apps/advancedfm/advancedfmMenu.cpp b/noncore/apps/advancedfm/advancedfmMenu.cpp
index 2201960..9f21245 100644
--- a/noncore/apps/advancedfm/advancedfmMenu.cpp
+++ b/noncore/apps/advancedfm/advancedfmMenu.cpp
@@ -207,5 +207,9 @@ void AdvancedFm::doDelete()
{
- switch ( QMessageBox::warning( this, tr("Delete Directory?"), tr("Really delete\n") + f +
- "\nand all it's contents ?"
- ,tr("Yes"),tr("No"),0,0,1) )
+ switch ( QMessageBox::warning( this, tr("Delete Directory?"),
+ tr("Really delete %1\nand all it's contents ?" ).arg( f ) ,
+ tr("Yes"),
+ tr("No"),
+ 0,
+ 0,
+ 1) )
{
@@ -226,4 +230,9 @@ void AdvancedFm::doDelete()
if(doMsg) {
- switch ( QMessageBox::warning(this,tr("Delete"),tr("Really delete\n")+f
- +" ?",tr("Yes"),tr("No"),0,0,1) ) {
+ switch ( QMessageBox::warning(this,tr("Delete"),
+ tr("Really delete\n%1?").arg( f ),
+ tr("Yes"),
+ tr("No"),
+ 0,
+ 0,
+ 1) ) {
case 1: