Debug line removed, .hidden extension removed at GTA Snapmatic export
This commit is contained in:
		
							parent
							
								
									1c0ad45024
								
							
						
					
					
						commit
						6acd7473d7
					
				
					 2 changed files with 7 additions and 2 deletions
				
			
		|  | @ -35,8 +35,14 @@ void PictureCopy::copyPicture(QWidget *parent, QString picPath) | |||
|     settings.beginGroup("FileDialogs"); | ||||
|     settings.beginGroup("PictureCopy"); | ||||
| 
 | ||||
|     QString adjustedPicPath = picPath; | ||||
|     if (adjustedPicPath.right(7) == ".hidden") // for the hidden file system
 | ||||
|     { | ||||
|         adjustedPicPath.remove(adjustedPicPath.length() - 7, 7); | ||||
|     } | ||||
| 
 | ||||
| fileDialogPreSave: | ||||
|     QFileInfo sgdFileInfo(picPath); | ||||
|     QFileInfo sgdFileInfo(adjustedPicPath); | ||||
|     QFileDialog fileDialog(parent); | ||||
|     fileDialog.setFileMode(QFileDialog::AnyFile); | ||||
|     fileDialog.setViewMode(QFileDialog::Detail); | ||||
|  |  | |||
|  | @ -81,7 +81,6 @@ void SnapmaticWidget::setSnapmaticPicture(SnapmaticPicture *picture, QString pic | |||
| { | ||||
|     smpic = picture; | ||||
|     picPath = picturePath; | ||||
|     qDebug() << picPath; | ||||
|     picStr = picture->getPictureStr(); | ||||
|     picTitl = picture->getPictureTitl(); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue