diff options
author | Ken Moore <moorekou@gmail.com> | 2015-10-15 08:08:40 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-10-15 08:08:40 -0400 |
commit | 6ba7294b44443621c998156f4e5e7d0f8009ffa8 (patch) | |
tree | fa91e03b5e39ede610e573a296d4e890f6a10281 | |
parent | Change the icon for the "showdesktop" plugin to be an image of the desktop (u... (diff) | |
download | lumina-6ba7294b44443621c998156f4e5e7d0f8009ffa8.tar.gz lumina-6ba7294b44443621c998156f4e5e7d0f8009ffa8.tar.bz2 lumina-6ba7294b44443621c998156f4e5e7d0f8009ffa8.zip |
Fix the status text loading in lumina-fm so that there is never any duplication of information.
-rw-r--r-- | lumina-fm/widgets/DirWidget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lumina-fm/widgets/DirWidget.cpp b/lumina-fm/widgets/DirWidget.cpp index a4096370..b154b708 100644 --- a/lumina-fm/widgets/DirWidget.cpp +++ b/lumina-fm/widgets/DirWidget.cpp @@ -470,7 +470,8 @@ void DirWidget::LoadDir(QString dir, QList<LFileInfo> list){ } if(stopload){ return; } //stop right now - ui->label_status->setText( QString(ui->label_status->text()+stats).simplified() ); + if(!canmodify){ stats.prepend(tr("(Limited Access) ")); } + ui->label_status->setText( stats.simplified() ); if(DEBUG){ qDebug() << "DONE:" << time.elapsed(); } if(showThumbs){ QTimer::singleShot(0,this, SLOT(startLoadThumbs())); } } |