[pim/trojita] src/Gui: Remove unused non-trivial-variables

Espen Sandøy Hustad <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit cc864f4216f691a7a21721086c4b6b63842f0989 by Espen Sandøy Hustad.
Committed on 03/08/2026 at 18:52.
Pushed by ehustad into branch 'master'.

Remove unused non-trivial-variables

Leaving them commented so they are easily available for
debugging purposes. Fixes Clazy warning: unused QString ${VAR_NAME}
[-Wclazy-unused-non-trivial-variable].

M  +6    -6    src/Gui/Window.cpp

https://invent.kde.org/pim/trojita/-/commit/cc864f4216f691a7a21721086c4b6b63842f0989

diff --git a/src/Gui/Window.cpp b/src/Gui/Window.cpp
index f0d14438a..18c22c460 100644
--- a/src/Gui/Window.cpp
+++ b/src/Gui/Window.cpp
@@ -2529,12 +2529,12 @@ void MainWindow::slotShowImapInfo()
         IMAP_ID_FIELD(os, "os");
         IMAP_ID_FIELD(osVersion, "os-version");
         IMAP_ID_FIELD(vendor, "vendor");
-        IMAP_ID_FIELD(supportUrl, "support-url");
-        IMAP_ID_FIELD(address, "address");
-        IMAP_ID_FIELD(date, "date");
-        IMAP_ID_FIELD(command, "command");
-        IMAP_ID_FIELD(arguments, "arguments");
-        IMAP_ID_FIELD(environment, "environment");
+        //IMAP_ID_FIELD(supportUrl, "support-url");
+        //IMAP_ID_FIELD(address, "address");
+        //IMAP_ID_FIELD(date, "date");
+        //IMAP_ID_FIELD(command, "command");
+        //IMAP_ID_FIELD(arguments, "arguments");
+        //IMAP_ID_FIELD(environment, "environment");
 #undef IMAP_ID_FIELD
         if (has_serverName) {
             idString = tr("<p>");
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.