Skip to content

Commit 3ecf63f

Browse files
committed
Load default config even if no config file was found
1 parent 4b41b09 commit 3ecf63f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mainwindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ void MainWindow::blockSelected(const QString& block) {
8282
void MainWindow::load_config(QString filename) {
8383
qInfo() << "loading config file " << filename;
8484
try {
85-
if (!QFileInfo::exists(filename)) throw std::runtime_error("Settings file doesn't exist.");
85+
//if (!QFileInfo::exists(filename)) throw std::runtime_error("Settings file doesn't exist.");
8686
QSettings pt(filename, QSettings::Format::IniFormat);
8787

8888
// ----------------------------

0 commit comments

Comments
 (0)