Re: Review Request 130212: Fix confused by the different with QTemporaryDir and QDir issue
Leslie Zhai <[email protected]> Wed, 02 Aug 2017 08:23:24 -0000
| Newsgroups | gmane.comp.kde.users.multimedia |
|---|---|
| Message-ID | <[email protected]> |
> On 八月 2, 2017, 4:11 p.m., Harald Sitter wrote: > > Please use phabricator, reviewboard is deprecated and getting killed at some point https://community.kde.org/Infrastructure/Phabricator Thanks for your hint! https://phabricator.kde.org/D7063 - Leslie ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/130212/#review103523 ----------------------------------------------------------- On 八月 2, 2017, 12:51 p.m., Leslie Zhai wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/130212/ > ----------------------------------------------------------- > > (Updated 八月 2, 2017, 12:51 p.m.) > > > Review request for KDE Multimedia, Albert Astals Cid, Anthony Fieroni, and Harald Sitter. > > > Bugs: 383011 > http://bugs.kde.org/show_bug.cgi?id=383011 > > > Repository: k3b > > > Description > ------- > > Hi KDE developers, > > tempDir was defined as `QScopedPointer<QTemporaryDir>` https://github.com/KDE/k3b/commit/05cd636c9dfb35fdeea666b581c1f2b9c3820a90#diff-920d85bf84619674590c2e13a0428d00R40 it is easy to create a unique directory for temporary use, and QScopedPointer's destructor will free the allocated memory automatically, brain-free :) > > but it still mkdir all parenets directories in complicated way https://github.com/KDE/k3b/commit/05cd636c9dfb35fdeea666b581c1f2b9c3820a90#diff-920d85bf84619674590c2e13a0428d00R113 > > so I just mkpath for temporary `VIDEO_TS` directory and provide correct temporary path, such as `/tmp/k3bVideoDvdfINBwV` to genisoimage, please review my patch, and give me some suggestion, thanks a lot! > > > Regards, > Leslie Zhai > > > Diffs > ----- > > libk3b/projects/videodvd/k3bvideodvdimager.cpp a8ae69a > > Diff: https://git.reviewboard.kde.org/r/130212/diff/ > > > Testing > ------- > > > Thanks, > > Leslie Zhai > >