Silenced some debug outputs.
This commit is contained in:
parent
869a391444
commit
7771e1127e
@ -3167,7 +3167,6 @@ void MainWindow::initOutputFolderModel(void)
|
|||||||
ui->outputFolderView->header()->hideSection(3);
|
ui->outputFolderView->header()->hideSection(3);
|
||||||
|
|
||||||
m_fileSystemModel->setRootPath("");
|
m_fileSystemModel->setRootPath("");
|
||||||
qWarning("Initializing QFileSystemModel to:\n%s\n", m_settings->outputDir().toUtf8().constData());
|
|
||||||
QModelIndex index = m_fileSystemModel->index(m_settings->outputDir());
|
QModelIndex index = m_fileSystemModel->index(m_settings->outputDir());
|
||||||
if(index.isValid()) ui->outputFolderView->setCurrentIndex(index);
|
if(index.isValid()) ui->outputFolderView->setCurrentIndex(index);
|
||||||
outputFolderViewClicked(ui->outputFolderView->currentIndex());
|
outputFolderViewClicked(ui->outputFolderView->currentIndex());
|
||||||
|
@ -215,14 +215,6 @@ SettingsModel::SettingsModel(void)
|
|||||||
m_settings->beginGroup(groupKey);
|
m_settings->beginGroup(groupKey);
|
||||||
m_settings->setValue(g_settingsId_versionNumber, QApplication::applicationVersion());
|
m_settings->setValue(g_settingsId_versionNumber, QApplication::applicationVersion());
|
||||||
m_settings->sync();
|
m_settings->sync();
|
||||||
|
|
||||||
const bool isDefined = m_settings->contains(g_settingsId_outputDir);
|
|
||||||
qWarning("Value '%s' is currently: %s\n", g_settingsId_outputDir, (isDefined ? "defined" : "un-defined"));
|
|
||||||
if(isDefined)
|
|
||||||
{
|
|
||||||
qWarning("It's value is:\n%s\n", m_settings->value(g_settingsId_outputDir).toString().toUtf8().constData());
|
|
||||||
}
|
|
||||||
qWarning("Current output directory is:\n%s\n", outputDir().toUtf8().constData());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user