Review Request 125383: [dolphin-plugins]Fix for adding issues for git plugin

Tomasz Bojczuk seelook at gmail.com
Sat Sep 26 15:35:15 BST 2015



> On Wrz 26, 2015, 2:08 po południu, Emmanuel Pescosta wrote:
> > git/fileviewgitplugin.cpp, line 275
> > <https://git.reviewboard.kde.org/r/125383/diff/2/?file=408481#file408481line275>
> >
> >     QFileInfo().absolutePath() is not needed anymore, QDir().canonicalPath() does the same (+ symlink resolution)
> 
> Tomasz Bojczuk wrote:
>     QFileInfo().absolutePath() returns directory path of given item when canonicalPath() converts whatever it gets (file or directory)
>     or QProcess::setWorkingDirecory(file_without_symlinks) will bear file as an argument as well?
> 
> Emmanuel Pescosta wrote:
>     Ah then use QFileInfo().canonicalPath() ;)

Ahh zu... :-)
Tested as well


- Tomasz


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/125383/#review85972
-----------------------------------------------------------


On Wrz 26, 2015, 2:05 po południu, Tomasz Bojczuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/125383/
> -----------------------------------------------------------
> 
> (Updated Wrz 26, 2015, 2:05 po południu)
> 
> 
> Review request for Dolphin.
> 
> 
> Bugs: https://bugs.kde.org/show_bug.cgi?id=352625
>     http://bugs.kde.org/show_bug.cgi?id=https://bugs.kde.org/show_bug.cgi?id=352625
> 
> 
> Repository: dolphin-plugins
> 
> 
> Description
> -------
> 
> This pach reverts my previous fix, which solved only side effect of the main problem.
> Main problem is clearing QProcess working directory of 'git' command when context menu of a file is invoked.
> Now working directory is set there instead of clearing. Then 'git' is capable to work with relative file paths.
> 
> 
> Diffs
> -----
> 
>   git/fileviewgitplugin.cpp 4b5b1c5 
> 
> Diff: https://git.reviewboard.kde.org/r/125383/diff/
> 
> 
> Testing
> -------
> 
> Of course....
> I uses/using it "even" with real (production) projects.
> 
> 
> Thanks,
> 
> Tomasz Bojczuk
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20150926/1c726cdf/attachment.htm>


More information about the kfm-devel mailing list