]> cloud.milkyroute.net Git - dolphin.git/commit
[DolphinView] Fix "Folder is empty" label showing prematurely
authorKai Uwe Broulik <kde@privat.broulik.de>
Fri, 15 Jan 2021 16:51:33 +0000 (17:51 +0100)
committerKai Uwe Broulik <kde@privat.broulik.de>
Sun, 17 Jan 2021 13:32:56 +0000 (13:32 +0000)
commit2e79e21c3f4da5183b516e0088f2137c4f27ceff
tree5e59eefdfbc9e470b2cd6fcff4a1081408b328c1
parent6945a540046cbe5497bdd08790942ebd0d82d483
[DolphinView] Fix "Folder is empty" label showing prematurely

Don't show the label while still loading. Since there is no property in
`KDirLister` a dedicated `m_loading` is added for this purpose.

Also, I removed the explicit update on `urlChanged` as the view
probably won't change until the lister starts loading.

BUG: 430085
src/views/dolphinview.cpp
src/views/dolphinview.h