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:
Arkadiusz Bokowy 2014-09-14 19:08:07 +02:00 committed by Mathias Gumz
parent f0a178f515
commit 786d8bacc0

View file

@ -1183,9 +1183,7 @@ void Fluxbox::load_rc() {
FbTk::Transparent::usePseudoTransparent(*m_rc_pseudotrans);
if (!m_rc_slitlistfile->empty()) {
*m_rc_slitlistfile = StringUtil::expandFilename(*m_rc_slitlistfile);
} else {
if (m_rc_slitlistfile->empty()) {
string filename = getDefaultDataFilename("slitlist");
m_rc_slitlistfile.setFromString(filename.c_str());
}