diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-01-12 19:57:00 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-01-12 19:57:00 +0100 |
commit | 8c30d0d5f0ab93c44b6957040fd0a2b3b7749faa (patch) | |
tree | 94500815f9734492c3c61d97aca1b0c4bbcddcd3 /src/forms/profiledialog.cpp | |
parent | Minor bugfixes (diff) | |
download | smolbote-8c30d0d5f0ab93c44b6957040fd0a2b3b7749faa.tar.xz |
Profile config loading and saving
Diffstat (limited to 'src/forms/profiledialog.cpp')
-rw-r--r-- | src/forms/profiledialog.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/forms/profiledialog.cpp b/src/forms/profiledialog.cpp index 14279c4..b485419 100644 --- a/src/forms/profiledialog.cpp +++ b/src/forms/profiledialog.cpp @@ -1,6 +1,8 @@ #include "profiledialog.h" #include "ui_profiledialog.h" +#include <QLineEdit> + ProfileDialog::ProfileDialog(QWebEngineProfile *profile, QWidget *parent) : QDialog(parent), ui(new Ui::ProfileDialog) @@ -9,6 +11,8 @@ ProfileDialog::ProfileDialog(QWebEngineProfile *profile, QWidget *parent) : ui->setupUi(this); ui->userAgent_lineEdit->setText(_profile->httpUserAgent()); + ui->storagePath_lineEdit->setText(_profile->persistentStoragePath()); + ui->cachePath_lineEdit->setText(_profile->cachePath()); connect(this, SIGNAL(accepted()), this, SLOT(saveProfile())); } |