changeset 24813:e071493bfa20

* variable-editor-model.cc: Fix format string.
author John W. Eaton <jwe@octave.org>
date Thu, 01 Mar 2018 14:50:01 -0500
parents ed9ba20d6ed3
children f45e2c6dc3e0
files libgui/src/variable-editor-model.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/variable-editor-model.cc	Mon Feb 19 20:13:15 2018 -0600
+++ b/libgui/src/variable-editor-model.cc	Thu Mar 01 14:50:01 2018 -0500
@@ -208,7 +208,7 @@
   if (! m_valid)
     {
       if (role == Qt::DisplayRole)
-        return QVariant (QString ("Variable %d not found")
+        return QVariant (QString ("Variable %1 not found")
                          .arg (QString::fromStdString (m_name)));
 
       return QVariant (QString ("x"));