diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2022-05-25 18:19:35 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2022-05-27 13:35:58 +0300 |
commit | 07aa0700dcaef1a5be1222b08bcf18aa876bf364 (patch) | |
tree | 854480b6a788109a89490b335973b3b02c8c8720 /src/gui/logbrowser.ui | |
parent | cf9470d1df33656ca8d2db2b572ecd8dd394c2a5 (diff) |
Kepp N logs instead of making it depend on age
Diffstat (limited to 'src/gui/logbrowser.ui')
-rw-r--r-- | src/gui/logbrowser.ui | 36 |
1 files changed, 30 insertions, 6 deletions
diff --git a/src/gui/logbrowser.ui b/src/gui/logbrowser.ui index 24991739c..ef6aba72c 100644 --- a/src/gui/logbrowser.ui +++ b/src/gui/logbrowser.ui @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>600</width> - <height>300</height> + <height>399</height> </rect> </property> <property name="windowTitle"> @@ -125,11 +125,35 @@ Since log files can get large, the client will start a new one for each sync run </widget> </item> <item> - <widget class="QCheckBox" name="deleteLogsButton"> - <property name="text"> - <string notr="true">Delete logs older than %1 hours</string> - </property> - </widget> + <layout class="QHBoxLayout" name="horizontalLayout_3"> + <item> + <widget class="QLabel" name="label_4"> + <property name="text"> + <string>Log files to keep:</string> + </property> + </widget> + </item> + <item> + <widget class="QSpinBox" name="spinBox_numberOflogsToKeep"> + <property name="minimum"> + <number>5</number> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> </item> <item> <widget class="QLabel" name="label_3"> |