Code cleanup
File name expansion is done internally by the Slit::loadClientList, so there is no need to duplicate the code.
This commit is contained in:
parent
f0a178f515
commit
786d8bacc0
1 changed files with 1 additions and 3 deletions
|
@ -1183,9 +1183,7 @@ void Fluxbox::load_rc() {
|
||||||
|
|
||||||
FbTk::Transparent::usePseudoTransparent(*m_rc_pseudotrans);
|
FbTk::Transparent::usePseudoTransparent(*m_rc_pseudotrans);
|
||||||
|
|
||||||
if (!m_rc_slitlistfile->empty()) {
|
if (m_rc_slitlistfile->empty()) {
|
||||||
*m_rc_slitlistfile = StringUtil::expandFilename(*m_rc_slitlistfile);
|
|
||||||
} else {
|
|
||||||
string filename = getDefaultDataFilename("slitlist");
|
string filename = getDefaultDataFilename("slitlist");
|
||||||
m_rc_slitlistfile.setFromString(filename.c_str());
|
m_rc_slitlistfile.setFromString(filename.c_str());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue