diff options
author | Ken Moore <ken@ixsystems.com> | 2017-01-20 07:49:29 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-01-20 07:49:29 -0500 |
commit | a0572cf5076bbc20248018e98f0faee5a9a644da (patch) | |
tree | d0f0ee9f59eed4a9c7ec0f439735cf32266ff752 /src-qt5/desktop-utils/lumina-screenshot/MainUI.cpp | |
parent | Fix up some handling of the non-application .desktop file types: (diff) | |
download | lumina-a0572cf5076bbc20248018e98f0faee5a9a644da.tar.gz lumina-a0572cf5076bbc20248018e98f0faee5a9a644da.tar.bz2 lumina-a0572cf5076bbc20248018e98f0faee5a9a644da.zip |
Change the "edit" button in two ways:
1) Have it always open the new screenshot file with the "-select" dialog. (Many times editors use the same mimetypes as viewers, but viewer are set as the default).
2) Change the button text to "Open With..." so users know what it will do.
Diffstat (limited to 'src-qt5/desktop-utils/lumina-screenshot/MainUI.cpp')
-rw-r--r-- | src-qt5/desktop-utils/lumina-screenshot/MainUI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-screenshot/MainUI.cpp b/src-qt5/desktop-utils/lumina-screenshot/MainUI.cpp index e15c2487..57314249 100644 --- a/src-qt5/desktop-utils/lumina-screenshot/MainUI.cpp +++ b/src-qt5/desktop-utils/lumina-screenshot/MainUI.cpp @@ -111,7 +111,7 @@ void MainUI::quicksave(){ QString path = savedir + QString( "Screenshot-%1.png" ).arg( lastScreenShot.toString("yyyy-MM-dd-hh-mm-ss") ); if(IMG->image().save(path, "png") ){ - QProcess::startDetached("lumina-open \""+path+"\""); + QProcess::startDetached("lumina-open -select \""+path+"\""); }else{ showSaveError(path); } |