|
From: <cn...@us...> - 2022-12-05 01:09:25
|
Revision: 1317
http://sourceforge.net/p/seq/svn/1317
Author: cn187
Date: 2022-12-05 01:09:24 +0000 (Mon, 05 Dec 2022)
Log Message:
-----------
Fix rest of issue saving/restoring messag filter visibility
Modified Paths:
--------------
showeq/branches/cn187_devel/src/xmlconv.cpp
showeq/branches/cn187_devel/src/xmlpreferences.cpp
Modified: showeq/branches/cn187_devel/src/xmlconv.cpp
===================================================================
--- showeq/branches/cn187_devel/src/xmlconv.cpp 2022-12-04 19:51:14 UTC (rev 1316)
+++ showeq/branches/cn187_devel/src/xmlconv.cpp 2022-12-05 01:09:24 UTC (rev 1317)
@@ -339,10 +339,10 @@
e.setTagName("int64");
QString val;
#if (QT_VERSION >= QT_VERSION_CHECK(5,5,0))
- val = QString::asprintf("%0.16x", v.toLongLong());
+ val = QString::asprintf("%0.16llx", v.toLongLong());
#else
val = v.toLongLong();
- val.sprintf("%0.16x", v.toLongLong());
+ val.sprintf("%0.16llx", v.toLongLong());
#endif
e.setAttribute("value", val);
break;
@@ -353,10 +353,10 @@
e.setTagName("uint64");
QString val;
#if (QT_VERSION >= QT_VERSION_CHECK(5,5,0))
- val = QString::asprintf("%0.16x", v.toULongLong());
+ val = QString::asprintf("%0.16llx", v.toULongLong());
#else
val = v.toULongLong();
- val.sprintf("%0.16x", v.toULongLong());
+ val.sprintf("%0.16llx", v.toULongLong());
#endif
e.setAttribute("value", val);
break;
Modified: showeq/branches/cn187_devel/src/xmlpreferences.cpp
===================================================================
--- showeq/branches/cn187_devel/src/xmlpreferences.cpp 2022-12-04 19:51:14 UTC (rev 1316)
+++ showeq/branches/cn187_devel/src/xmlpreferences.cpp 2022-12-05 01:09:24 UTC (rev 1317)
@@ -903,7 +903,7 @@
Persistence pers)
{
QVariant tmp;
- tmp.setValue(inValue);
+ tmp.setValue((qlonglong)inValue);
setPref(inName, inSection, tmp, pers);
}
@@ -914,7 +914,7 @@
Persistence pers)
{
QVariant tmp;
- tmp.setValue(inValue);
+ tmp.setValue((qulonglong)inValue);
setPref(inName, inSection, tmp, pers);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|