|
From: <cn...@us...> - 2020-10-25 17:24:17
|
Revision: 1064
http://sourceforge.net/p/seq/svn/1064
Author: cn187
Date: 2020-10-25 17:24:10 +0000 (Sun, 25 Oct 2020)
Log Message:
-----------
Cast QKeySequence to string for compatibility
Modified Paths:
--------------
showeq/branches/pre_6_0_beta/src/xmlpreferences.cpp
Modified: showeq/branches/pre_6_0_beta/src/xmlpreferences.cpp
===================================================================
--- showeq/branches/pre_6_0_beta/src/xmlpreferences.cpp 2020-10-25 04:34:55 UTC (rev 1063)
+++ showeq/branches/pre_6_0_beta/src/xmlpreferences.cpp 2020-10-25 17:24:10 UTC (rev 1064)
@@ -713,10 +713,10 @@
case QVariant::Double:
return QKeySequence(preference->value<QKeySequence>());
default:
- qWarning("XMLPreferences::getPrefKey(%s, %s, %d): preference found,\n"
+ qWarning("XMLPreferences::getPrefKey(%s, %s, %s): preference found,\n"
"\tbut type %s is not convertable to type key!",
- (const char*)inName, (const char*)inSection, def,
- preference->typeName());
+ (const char*)inName, (const char*)inSection,
+ (const char*)def.toString(), preference->typeName());
return QKeySequence(def);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|