aboutsummaryrefslogtreecommitdiff
path: root/lumina-open/LFileDialog.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-01-05 15:53:43 -0500
committerKen Moore <ken@pcbsd.org>2015-01-05 15:53:43 -0500
commit744ee07a726e1baa96738771ac5fdfa29567c523 (patch)
tree0cdb924f1aa32c6392d232a65651c4a5a2ac876e /lumina-open/LFileDialog.cpp
parentPut another couple quick fixes in: (diff)
downloadlumina-744ee07a726e1baa96738771ac5fdfa29567c523.tar.gz
lumina-744ee07a726e1baa96738771ac5fdfa29567c523.tar.bz2
lumina-744ee07a726e1baa96738771ac5fdfa29567c523.zip
Fix a couple other minor display issues in lumina-open
Diffstat (limited to 'lumina-open/LFileDialog.cpp')
-rw-r--r--lumina-open/LFileDialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lumina-open/LFileDialog.cpp b/lumina-open/LFileDialog.cpp
index 0f2ab1cf..5214a2f1 100644
--- a/lumina-open/LFileDialog.cpp
+++ b/lumina-open/LFileDialog.cpp
@@ -35,7 +35,9 @@ void LFileDialog::setFileInfo(QString filename, QString extension, bool isFile){
//Set the labels for the file
ui->label_file->setText( this->fontMetrics().elidedText( filename, Qt::ElideMiddle, 300 ) );
if(isFile){ ui->label_extension->setText( "("+extension+")"); }
- else{ ui->label_extension->setText("("+extension+" link)"); }
+ else if(extension=="email"){ ui->label_extension->setText( QString(tr("(Email Link)")) ); }
+ else if(extension=="webbrowser"){ ui->label_extension->setText( QString(tr("(Internet URL)")) ); }
+ else{ui->label_extension->setText("("+extension+" link)"); }
fileEXT = extension;
generateAppList();
}
bgstack15