diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-06-01 17:27:58 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-06-01 17:27:58 +0200 |
commit | 329e8de84fc8e0a2e4a04fbaf85ab0e1632c6084 (patch) | |
tree | 864df8426b543d6817d6e364be4889bc6e20d640 /plugins/ProfileEditor/forms/profileview.cpp | |
parent | Middle mouse button closes tab (diff) | |
download | smolbote-329e8de84fc8e0a2e4a04fbaf85ab0e1632c6084.tar.xz |
Only add profiles to profile manager at init
Diffstat (limited to 'plugins/ProfileEditor/forms/profileview.cpp')
-rw-r--r-- | plugins/ProfileEditor/forms/profileview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ProfileEditor/forms/profileview.cpp b/plugins/ProfileEditor/forms/profileview.cpp index e073dbb..b53cc7d 100644 --- a/plugins/ProfileEditor/forms/profileview.cpp +++ b/plugins/ProfileEditor/forms/profileview.cpp @@ -12,7 +12,7 @@ inline void connectSetting(QCheckBox *checkBox, QWebEngineSettings *settings, QWebEngineSettings::WebAttribute attr) { - QObject::connect(checkBox, &QCheckBox::clicked, [settings, attr](bool checked){ + QObject::connect(checkBox, &QCheckBox::clicked, [settings, attr](bool checked) { settings->setAttribute(attr, checked); }); } |