Forum
Sign Up

QtitanDockingInstaller2.3.0_msvc2017 Error 2

5 months 2 weeks ago #1 by yimin
Theres is a obvious error in file 'QtnBackstageWidget.cpp'
void BackstageSharedWindow::updateRequest(bool qwidgetupdate)
{
for (QSet<BackstageWidget*>::const_iterator it = m_widgets.constBegin();
it != m_widgets.constEnd(); ++it)
{
BackstageWidget* backstageWidget = *it;
QWidget* w = backstageWidget->widget();
if (w == Q_NULL)
continue;
QRegion region = backstageWidget->m_needsRepaint;

if (qwidgetupdate)
{
qtn_add_dirty_region(w, region, w->geometry().topLeft());
backstageWidget->m_needsRepaint = region;
}
else
{
QGraphicsItemPrivate* item =
QGraphicsItemPrivate::get(backstageWidget->m_proxyWidget);
if (item->dirty)
region += item->needsRepaint.toRect();
region -= backstageWidget->m_needsRepaint; //Already was painted
backstageWidget->m_needsRepaint = QRegion();

}

if (region.isEmpty())
continue;
QList<QRectF> rects;
for (QRegion::const_iterator it = region.begin(); it != region.end(); ++it)
rects.append(*it);

backstageWidget->changed(rects);
}
}

Please Log in or Create an account to join the conversation.

More
5 months 2 weeks ago #2 by Developer Machines
The following user(s) said Thank You: yimin

Please Log in or Create an account to join the conversation.

More
  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Moderators: Developer MachinesEduard
Time to create page: 0.131 seconds

Developer Newsletter

Join our Developer Machines newsletter to get informed on all the latest releases of the commercial components for Qt.C++, Delphi FireMonkey, updates and general knowledges.

Quick Support

Should you need any additional information about our products or licensing, please contact us at the following email addresses:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

Get in Touch

If you would like to purchase our products or services, but don’t know how to do it the right way, please feel free to contact us:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.( any questions related to our products or services )
  • This email address is being protected from spambots. You need JavaScript enabled to view it.( questions related to licensing )