diff options
author | Ken Moore <ken@ixsystems.com> | 2016-10-21 14:20:15 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2016-10-21 14:20:15 -0400 |
commit | ef338ceb9dc6826746a58d903f86200a4da81acb (patch) | |
tree | 842bf52e37abf9bec56e61acab7ca9096226dee5 /src-qt5 | |
parent | Tag version 1.1.1 within the master branch. (diff) | |
download | lumina-ef338ceb9dc6826746a58d903f86200a4da81acb.tar.gz lumina-ef338ceb9dc6826746a58d903f86200a4da81acb.tar.bz2 lumina-ef338ceb9dc6826746a58d903f86200a4da81acb.zip |
If a .desktop file is given to launch, be more specific with the error when the file is invalid.
Diffstat (limited to 'src-qt5')
-rw-r--r-- | src-qt5/core/lumina-open/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-open/main.cpp b/src-qt5/core/lumina-open/main.cpp index 68d2575b..b411394c 100644 --- a/src-qt5/core/lumina-open/main.cpp +++ b/src-qt5/core/lumina-open/main.cpp @@ -261,7 +261,7 @@ void getCMD(int argc, char ** argv, QString& binary, QString& args, QString& pat if(extension=="desktop" && !showDLG){ XDGDesktop DF(inFile); if(!DF.isValid()){ - ShowErrorDialog( argc, argv, QString(QObject::tr("File could not be opened: %1")).arg(inFile) ); + ShowErrorDialog( argc, argv, QString(QObject::tr("Application entry is invalid: %1")).arg(inFile) ); } switch(DF.type){ case XDGDesktop::APP: |