aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-desktop')
-rw-r--r--lumina-desktop/panel-plugins/userbutton/UserWidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lumina-desktop/panel-plugins/userbutton/UserWidget.cpp b/lumina-desktop/panel-plugins/userbutton/UserWidget.cpp
index 1ee0b211..52d60714 100644
--- a/lumina-desktop/panel-plugins/userbutton/UserWidget.cpp
+++ b/lumina-desktop/panel-plugins/userbutton/UserWidget.cpp
@@ -196,13 +196,13 @@ void UserWidget::updateFavItems(){
static_cast<QBoxLayout*>(ui->scroll_fav->widget()->layout())->addStretch();
//Clean up any broken sym-links in the favorites directory
- items = favdir.entryInfoList(QDir::System | QDir::NoDotAndDotDot, QDir::Name);
+ /*items = favdir.entryInfoList(QDir::System | QDir::NoDotAndDotDot, QDir::Name);
for(int i=0; i<items.length(); i++){
if(items[i].isSymLink() && !items[i].exists()){
//Broken sym-link - remove it
QFile::remove(items[i].absoluteFilePath());
}
- }
+ }*/
}
bgstack15