src/ldpaths.cpp

changeset 1308
dcc8c02530c2
parent 1125
d8f94e56d42e
equal deleted inserted replaced
1307:adb9d32a1426 1308:dcc8c02530c2
24 LDPaths::LDPaths (Configuration *config, QObject* parent) : 24 LDPaths::LDPaths (Configuration *config, QObject* parent) :
25 QObject(parent), 25 QObject(parent),
26 m_config(config), 26 m_config(config),
27 m_dialog(nullptr) {} 27 m_dialog(nullptr) {}
28 28
29 29 /*
30 void LDPaths::checkPaths() 30 void LDPaths::checkPaths()
31 { 31 {
32 QString pathconfig = m_config->lDrawPath(); 32 QString pathconfig = m_config->lDrawPath();
33 33
34 if (not configurePaths (pathconfig)) 34 if (not configurePaths (pathconfig))
40 exit(1); 40 exit(1);
41 else 41 else
42 m_config->setLDrawPath(m_dialog->path()); 42 m_config->setLDrawPath(m_dialog->path());
43 } 43 }
44 } 44 }
45 45 */
46 46
47 bool LDPaths::isValid (const QDir& dir) const 47 bool LDPaths::isValid (const QDir& dir) const
48 { 48 {
49 if (dir.exists()) 49 if (dir.exists())
50 { 50 {

mercurial