[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rockbox-cvs
Subject:    rbutil: Fix wrong format string.
From:       rockbox-gerrit-noreply--- via rockbox-cvs <rockbox-cvs () cool ! haxx ! se>
Date:       2020-11-23 19:45:32
Message-ID: 202011231945.0ANJjVBn490095 () stuffed ! shaftnet ! org
[Download RAW message or body]

commit 185dfb42c278a23d269ef3e358edd24c1486deaa
Author: Dominik Riebeling <Dominik.Riebeling@gmail.com>
Date:   Mon Nov 23 20:43:31 2020 +0100

    rbutil: Fix wrong format string.
    
    Only caused a warning, but no need to pass format parameters if there is
    no format string.
    
    Change-Id: Ifed38d8af3881c40e8609ccda3786cea23a3bc2f

diff --git a/rbutil/rbutilqt/configure.cpp b/rbutil/rbutilqt/configure.cpp
index 6abbc06afd..8115a86abc 100644
--- a/rbutil/rbutilqt/configure.cpp
+++ b/rbutil/rbutilqt/configure.cpp
@@ -863,7 +863,7 @@ void Config::cacheClear()
     if(QMessageBox::critical(this, tr("Really delete cache?"),
        tr("Do you really want to delete the cache? "
          "Make absolutely sure this setting is correct as it will "
-         "remove <b>all</b> files in this folder!").arg(ui.cachePath->text()),
+         "remove <b>all</b> files in this folder!"),
        QMessageBox::Yes | QMessageBox::No) != QMessageBox::Yes)
         return;
 
_______________________________________________
rockbox-cvs mailing list
rockbox-cvs@cool.haxx.se
https://cool.haxx.se/cgi-bin/mailman/listinfo/rockbox-cvs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic