r24478 by jghali - Fix Qt deprecation warning
scribus-commit
scribus-commit at lists.scribus.net
Sat Feb 13 13:22:18 UTC 2021
Author: jghali
Date: Sat Feb 13 13:22:18 2021
New Revision: 24478
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24478
Log:
Fix Qt deprecation warning
Modified:
trunk/Scribus/scribus/undotransaction.cpp
Modified: trunk/Scribus/scribus/undotransaction.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24478&path=/trunk/Scribus/scribus/undotransaction.cpp
==============================================================================
--- trunk/Scribus/scribus/undotransaction.cpp (original)
+++ trunk/Scribus/scribus/undotransaction.cpp Sat Feb 13 13:22:18 2021
@@ -43,7 +43,7 @@
UndoTransaction::~UndoTransaction()
{
- if (m_data && (m_data->ref.load() == 1))
+ if (m_data && (m_data->ref.loadRelaxed() == 1))
UndoTransaction::cancel(); // no virtual calls in destructor
}
More information about the scribus-commit
mailing list