From 744ee07a726e1baa96738771ac5fdfa29567c523 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Mon, 5 Jan 2015 15:53:43 -0500 Subject: Fix a couple other minor display issues in lumina-open --- lumina-open/LFileDialog.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lumina-open/LFileDialog.cpp') 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(); } -- cgit