aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-screenshot/MainUI.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-01-20 07:49:29 -0500
committerKen Moore <ken@ixsystems.com>2017-01-20 07:49:29 -0500
commita0572cf5076bbc20248018e98f0faee5a9a644da (patch)
treed0f0ee9f59eed4a9c7ec0f439735cf32266ff752 /src-qt5/desktop-utils/lumina-screenshot/MainUI.cpp
parentFix up some handling of the non-application .desktop file types: (diff)
downloadlumina-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.cpp2
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);
}
bgstack15