author | llornkcor <llornkcor> | 2002-11-16 15:13:23 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-11-16 15:13:23 (UTC) |
commit | 1fde54b44ba888094fc47201567ea9454857f5a1 (patch) (unidiff) | |
tree | 955a367a304554a0adc8193a193b31c996a15bf0 | |
parent | 91b18bba79406b6ff54ca7f1360035eceefee378 (diff) | |
download | opie-1fde54b44ba888094fc47201567ea9454857f5a1.zip opie-1fde54b44ba888094fc47201567ea9454857f5a1.tar.gz opie-1fde54b44ba888094fc47201567ea9454857f5a1.tar.bz2 |
fix for filename paths
-rw-r--r-- | core/applets/screenshotapplet/screenshot.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/applets/screenshotapplet/screenshot.cpp b/core/applets/screenshotapplet/screenshot.cpp index 98f2c9e..266d6d8 100644 --- a/core/applets/screenshotapplet/screenshot.cpp +++ b/core/applets/screenshotapplet/screenshot.cpp | |||
@@ -159,8 +159,10 @@ void ScreenshotControl::slotGrab() { | |||
159 | fileName = fileDlg->LineEdit1->text(); | 159 | fileName = fileDlg->LineEdit1->text(); |
160 | 160 | ||
161 | if(fileName.find("/",0,TRUE)==-1) | 161 | if(fileName.find("/",0,TRUE)==-1) |
162 | FileNamePath = QDir::homeDirPath()+"/Documents/image/png/"+fileName; | 162 | FileNamePath = QDir::homeDirPath()+"/Documents/image/png/"+fileName; |
163 | else | ||
164 | FileNamePath = fileName; | ||
163 | // qDebug(fileName); | 165 | // qDebug(fileName); |
164 | 166 | ||
165 | } | 167 | } |
166 | delete fileDlg; | 168 | delete fileDlg; |