Skip to content

Commit

Permalink
Remove extra output from thumb path fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CarVac committed Jul 4, 2017
1 parent 09043d4 commit 5255426
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion filmulator-gui/database/organizeModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ QString OrganizeModel::thumbDir()
{
QDir homeDir = QDir::home();
homeDir.cd(".local/share/filmulator/thumbs");
cout << "generating thumb path: " << homeDir.absolutePath().toStdString() << endl;
return homeDir.absolutePath();
}

Expand Down
2 changes: 0 additions & 2 deletions filmulator-gui/qml/filmulator-gui/Edit.qml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ SplitView {
}

property string state: "p"
property string rootDir: organizeModel.thumbDir()
//This connection finds out when the parameters are done changing, and then updates the url to fetch the latest image.
Connections {
target: paramManager//root
Expand All @@ -112,7 +111,6 @@ SplitView {
hiddenImage.source = "image://filmy/" + topImage.indexString
}
if (topImage.state == "p") {//if we're planning on doing the thumbnail
//var thumbPath = topImage.rootDir + '/' + paramManager.imageIndex.slice(0,4) + '/' + paramManager.imageIndex + '.jpg'
var thumbPath = organizeModel.thumbDir() + '/' + paramManager.imageIndex.slice(0,4) + '/' + paramManager.imageIndex + '.jpg'
console.log("thumb path: " + thumbPath)
topImage.source = thumbPath
Expand Down

0 comments on commit 5255426

Please sign in to comment.