D18352: Remember last output save directory

Kurt Hindenburg noreply at phabricator.kde.org
Wed Apr 10 01:40:38 BST 2019


hindenburg added a comment.


  The other option I looked is using KFileWidget and KRecents but there's issues there.  Ping me if it gets close to July w/o a resolution here.
  
    QUrl fileUrl = KFileWidget::getStartUrl(QUrl(QStringLiteral("kfiledialog:///SaveHistoryUrl")), recentDirClass);
    
     KRecentDirs::add(recentDirClass, url.adjusted(QUrl::RemoveFilename|QUrl::StripTrailingSlash).toString());

REPOSITORY
  R319 Konsole

REVISION DETAIL
  https://phabricator.kde.org/D18352

To: guotao, #konsole
Cc: hindenburg, ngraham, mglb, konsole-devel, gennad, thsurrel, maximilianocuria
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20190410/5f9dadbd/attachment.html>


More information about the konsole-devel mailing list