D5774: speed up detail treeview display by avoiding too many column resizes

David Faure noreply at phabricator.kde.org
Sat May 13 12:19:33 UTC 2017


dfaure accepted this revision.
dfaure added a comment.
This revision is now accepted and ready to land.


  I don't really know this code, but I definitely welcome such very needed speed improvements.

INLINE COMMENTS

> kdiroperatordetailview.cpp:156
>  {
> -    QTimer::singleShot(300, this, SLOT(disableColumnResizing()));
> -}
> +    connect(model(), &QAbstractItemModel::layoutChanged, this, &KDirOperatorDetailView::expandNameColumn);
>  

Is there any risk that this connect is done multiple times?

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D5774

To: mkoller, dfaure
Cc: #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170513/46bfd0f9/attachment.html>


More information about the Kde-frameworks-devel mailing list