Skip to content

Commit

Permalink
Merge pull request hetelek#63 from Kuci/master
Browse files Browse the repository at this point in the history
Multiple commits
  • Loading branch information
hetelek committed May 13, 2014
2 parents 34b5121 + f972689 commit 2c15bb6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
moc_*.h
moc_*.cpp
ui_*.h
qrc_Resources.cpp

# Velocity #
############
Expand Down Expand Up @@ -42,6 +43,7 @@ Makefile
*.tlog
*.lastbuildstate
*.unsuccessfulbuild
Velocity/Velocity

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
Expand All @@ -59,6 +61,7 @@ x64/
build/
[Bb]in/
[Oo]bj/
build-*/

# MSTest test Results
[Tt]est[Rr]esult*/
Expand Down
3 changes: 2 additions & 1 deletion Velocity/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,8 @@ void MainWindow::LoadFiles(QList<QUrl> &filePaths)
std::string fileName = QString(filePaths.at(i).encodedPath()).mid(1).replace("%20",
" ").toStdString();
#else
std::string fileName = QString(filePaths.at(i).encodedPath()).replace("%20", " ").toStdString();
std::string fileName = QString(filePaths.at(i).toEncoded()).replace("%20", " ").
replace("file://", "").toStdString();
#endif

// make sure the file exists
Expand Down

0 comments on commit 2c15bb6

Please sign in to comment.