Changeset View
Changeset View
Standalone View
Standalone View
src/settings/FileLocationSettings.cpp
Show All 27 Lines | |||||
28 | 28 | | |||
29 | FileLocationSettings::FileLocationSettings(QWidget* aParent) : QWidget(aParent) | 29 | FileLocationSettings::FileLocationSettings(QWidget* aParent) : QWidget(aParent) | ||
30 | { | 30 | { | ||
31 | setupUi(this); | 31 | setupUi(this); | ||
32 | 32 | | |||
33 | // TODO: worth adding gauge on free disk space? | 33 | // TODO: worth adding gauge on free disk space? | ||
34 | useSystemLocationText->setText(QDir::tempPath()); | 34 | useSystemLocationText->setText(QDir::tempPath()); | ||
35 | useUsersHomeLocationText->setText(QStandardPaths::writableLocation(QStandardPaths::CacheLocation)); | 35 | useUsersHomeLocationText->setText(QStandardPaths::writableLocation(QStandardPaths::CacheLocation)); | ||
36 | kcfg_scrollbackUseSpecifiedLocationDirectory->setMode(KFile::Directory); | ||||
36 | 37 | | |||
37 | } | 38 | } | ||
38 | 39 | | |||
39 | FileLocationSettings::~FileLocationSettings() = default; | 40 | FileLocationSettings::~FileLocationSettings() = default; | ||
40 | 41 | |