build: renamed Linux deleteConfig.sh to resetPreferences.sh and mention when changing screen settings

This commit is contained in:
Eberhard Graether
2018-01-16 16:13:07 +01:00
parent 5c3f067715
commit a39f35c8b0
5 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ INSTALL(FILES
INSTALL(PROGRAMS INSTALL(PROGRAMS
${CMAKE_SOURCE_DIR}/setup/Linux/install.sh ${CMAKE_SOURCE_DIR}/setup/Linux/install.sh
${CMAKE_SOURCE_DIR}/setup/Linux/uninstall.sh ${CMAKE_SOURCE_DIR}/setup/Linux/uninstall.sh
${CMAKE_SOURCE_DIR}/setup/Linux/deleteConfig.sh ${CMAKE_SOURCE_DIR}/setup/Linux/resetPreferences.sh
DESTINATION Sourcetrail DESTINATION Sourcetrail
) )
+4 -4
View File
@@ -18,11 +18,11 @@ Root permission is required to run this script.
Run uninstall.sh to uninstall Sourcetrail. Run uninstall.sh to uninstall Sourcetrail.
Config Files User Data Files
------------ ---------------
Sourcetrail places config files at ~/.config/sourcetrail Sourcetrail places user data files at ~/.config/sourcetrail
Run deleteConfig.sh to delete them. This resets Sourcetrail to the initial configuration. Run resetPreferences.sh to delete them and reset Sourcetrail to the initial configuration.
Documentation Documentation
@@ -76,7 +76,9 @@ void QtPreferencesWindow::handleNext()
if (needsRestart) if (needsRestart)
{ {
app->getDialogView()->confirm( app->getDialogView()->confirm(
"Please restart the application for all changes to take effect." "<p>Please restart the application for all changes to take effect.</p><p>Note: These changes may harm "
"the execution of the application. In case the application is not useable anymore, please run the "
"'resetPreferences.sh' script located in your install directory.</p>"
); );
} }
@@ -85,7 +85,7 @@ void QtProjectWizzardContentPreferences::populate(QGridLayout* layout, int& row)
// Linux UI scale // Linux UI scale
if (utility::getOsType() == OS_LINUX) // if (utility::getOsType() == OS_LINUX)
{ {
// screen // screen
addTitle("SCREEN", layout, row); addTitle("SCREEN", layout, row);