aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.cc
diff options
context:
space:
mode:
authorArkadiusz Bokowy <arkadiusz.bokowy@gmail.com>2014-09-14 17:08:07 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2014-09-14 17:09:11 (GMT)
commit786d8bacc0709bccdfa91eeefb9ce8a4beb546b6 (patch)
treeca72881991e71299e7f7bc83388a193cc6820cd3 /src/fluxbox.cc
parentf0a178f515a4d207288875fcff55dbd073b6319b (diff)
downloadfluxbox-786d8bacc0709bccdfa91eeefb9ce8a4beb546b6.zip
fluxbox-786d8bacc0709bccdfa91eeefb9ce8a4beb546b6.tar.bz2
Code cleanup
File name expansion is done internally by the Slit::loadClientList, so there is no need to duplicate the code.
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r--src/fluxbox.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index 3658e50..5771cb3 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -1183,9 +1183,7 @@ void Fluxbox::load_rc() {
1183 1183
1184 FbTk::Transparent::usePseudoTransparent(*m_rc_pseudotrans); 1184 FbTk::Transparent::usePseudoTransparent(*m_rc_pseudotrans);
1185 1185
1186 if (!m_rc_slitlistfile->empty()) { 1186 if (m_rc_slitlistfile->empty()) {
1187 *m_rc_slitlistfile = StringUtil::expandFilename(*m_rc_slitlistfile);
1188 } else {
1189 string filename = getDefaultDataFilename("slitlist"); 1187 string filename = getDefaultDataFilename("slitlist");
1190 m_rc_slitlistfile.setFromString(filename.c_str()); 1188 m_rc_slitlistfile.setFromString(filename.c_str());
1191 } 1189 }