It's no longer used.
For owncloud/docs#1365
+---------------------------------+------------------------+--------------------------------------------------------------------------------------------------------+
| ``promptDeleteAllFiles`` | ``true`` | If a UI prompt should ask for confirmation if it was detected that all files and folders were deleted. |
+---------------------------------+------------------------+--------------------------------------------------------------------------------------------------------+
-| ``maxLogLines`` | ``20000`` | Specifies the maximum number of log lines displayed in the log window. |
-+---------------------------------+------------------------+--------------------------------------------------------------------------------------------------------+
| ``timeout`` | ``300`` | The timeout for network connections in seconds. |
+---------------------------------+------------------------+--------------------------------------------------------------------------------------------------------+
| ``moveToTrash`` | ``false`` | If non-locally deleted files should be moved to trash instead of deleting them completely. |
static const char confirmExternalStorageC[] = "confirmExternalStorage";
static const char moveToTrashC[] = "moveToTrash";
-static const char maxLogLinesC[] = "Logging/maxLogLines";
const char certPath[] = "http_certificatePath";
const char certPasswd[] = "http_certificatePasswd";
settings.setValue(QLatin1String(updateChannelC), channel);
}
-int ConfigFile::maxLogLines() const
-{
- QSettings settings(configFile(), QSettings::IniFormat);
- return settings.value(QLatin1String(maxLogLinesC), DEFAULT_MAX_LOG_LINES).toInt();
-}
-
-void ConfigFile::setMaxLogLines(int lines)
-{
- QSettings settings(configFile(), QSettings::IniFormat);
- settings.setValue(QLatin1String(maxLogLinesC), lines);
- settings.sync();
-}
-
void ConfigFile::setProxyType(int proxyType,
const QString &host,
int port, bool needsAuth,
bool passwordStorageAllowed(const QString &connection = QString());
- // max count of lines in the log window
- int maxLogLines() const;
- void setMaxLogLines(int);
-
/* Server poll interval in milliseconds */
std::chrono::milliseconds remotePollInterval(const QString &connection = QString()) const;
/* Set poll interval. Value in milliseconds has to be larger than 5000 */