From d8ef04c6abe02efc832fbff727b5b39bf7b2f3de Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Mon, 11 Dec 2017 00:39:32 -0800 Subject: [PATCH] Qt: Fix build with Qt 5.10 Fixes "MemoryModel.cpp:102:15: error: no viable overloaded '='" --- src/platform/qt/MemoryModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/qt/MemoryModel.cpp b/src/platform/qt/MemoryModel.cpp index 8b7a08dd7..057ef6b91 100644 --- a/src/platform/qt/MemoryModel.cpp +++ b/src/platform/qt/MemoryModel.cpp @@ -99,7 +99,7 @@ void MemoryModel::setRegion(uint32_t base, uint32_t size, const QString& name, i m_top = 0; m_base = base; m_size = size; - m_regionName = name; + m_regionName = QStaticText(name); m_regionName.prepare(QTransform(), m_font); m_currentBank = segment; verticalScrollBar()->setRange(0, (size >> 4) + 1 - viewport()->size().height() / m_cellHeight);