|
@@ -1448,7 +1448,7 @@ ConfigMainWindow::ConfigMainWindow(void)
|
|
|
|
|
|
void ConfigMainWindow::loadConfig(void)
|
|
|
{
|
|
|
- QString s = QFileDialog::getOpenFileName(".config", NULL, this);
|
|
|
+ QString s = QFileDialog::getOpenFileName(conf_get_configname(), NULL, this);
|
|
|
if (s.isNull())
|
|
|
return;
|
|
|
if (conf_read(QFile::encodeName(s)))
|
|
@@ -1464,7 +1464,7 @@ void ConfigMainWindow::saveConfig(void)
|
|
|
|
|
|
void ConfigMainWindow::saveConfigAs(void)
|
|
|
{
|
|
|
- QString s = QFileDialog::getSaveFileName(".config", NULL, this);
|
|
|
+ QString s = QFileDialog::getSaveFileName(conf_get_configname(), NULL, this);
|
|
|
if (s.isNull())
|
|
|
return;
|
|
|
if (conf_write(QFile::encodeName(s)))
|