Commit f94f243c authored by Oswald Buddenhagen's avatar Oswald Buddenhagen

follow path entry changes - auto-port, reviewed, not tested

svn path=/branches/work/kconfig_new_take3/KDE/kdesdk/cervisia/; revision=728208
parent 4d478aa7
......@@ -170,7 +170,7 @@ bool CervisiaShell::queryExit()
void CervisiaShell::readProperties(const KConfigGroup& config)
{
m_lastOpenDir = config.readPathEntry("Current Directory");
m_lastOpenDir = config.readPathEntry("Current Directory", QString());
// if the session is restoring, make sure we open the URL
// since it's not handled by main()
......
......@@ -437,7 +437,7 @@ void CheckoutDialog::restoreUserInput()
KConfigGroup cs(&partConfig, "CheckoutDialog");
repo_combo->setEditText(cs.readEntry("Repository"));
workdir_edit->setText(cs.readPathEntry("Working directory"));
workdir_edit->setText(cs.readPathEntry("Working directory", QString()));
if (act == Import)
{
......
......@@ -261,7 +261,7 @@ void Repository::Private::readConfig()
}
// get remote shell client to access the remote repository
rsh = group.readPathEntry("rsh");
rsh = group.readPathEntry("rsh", QString());
// get program to start on the server side
server = group.readEntry("cvs_server");
......
......@@ -250,7 +250,7 @@ bool DiffDialog::parseCvsDiff(OrgKdeCervisiaCvsserviceCvsserviceInterface* servi
// place, but this design at least makes the handling trans-
// parent for the calling routines
QString extdiff = cs.readPathEntry("ExternalDiff");
QString extdiff = cs.readPathEntry("ExternalDiff", QString());
if (!extdiff.isEmpty())
{
callExternalDiff(extdiff, service, fileName, revA, revB);
......
......@@ -145,7 +145,7 @@ void SettingsDialog::readSettings()
contextedit->setValue(group.readEntry("ContextLines", 65535));
tabwidthedit->setValue(group.readEntry("TabWidth", 8));
diffoptedit->setText(group.readEntry("DiffOptions"));
extdiffedit->setUrl(group.readPathEntry("ExternalDiff"));
extdiffedit->setUrl(group.readPathEntry("ExternalDiff", QString()));
remotestatusbox->setChecked(group.readEntry("StatusForRemoteRepos", false));
localstatusbox->setChecked(group.readEntry("StatusForLocalRepos", false));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment