Merged in ValentinaZhuravska/valentina/feature (pull request #69)
Fixed synchronization --HG-- branch : develop
This commit is contained in:
commit
7a14bf255b
|
@ -183,7 +183,7 @@ QGroupBox *TapePathPage::PathGroup()
|
||||||
void TapePathPage::InitTable()
|
void TapePathPage::InitTable()
|
||||||
{
|
{
|
||||||
pathTable = new QTableWidget();
|
pathTable = new QTableWidget();
|
||||||
pathTable->setRowCount(4);
|
pathTable->setRowCount(3);
|
||||||
pathTable->setColumnCount(2);
|
pathTable->setColumnCount(2);
|
||||||
pathTable->verticalHeader()->setVisible(false);
|
pathTable->verticalHeader()->setVisible(false);
|
||||||
pathTable->setEditTriggers(QAbstractItemView::NoEditTriggers);
|
pathTable->setEditTriggers(QAbstractItemView::NoEditTriggers);
|
||||||
|
|
|
@ -91,7 +91,7 @@ void VSettings::SetLabelLanguage(const QString &value)
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
QString VSettings::GetPathPattern() const
|
QString VSettings::GetPathPattern() const
|
||||||
{
|
{
|
||||||
QSettings settings(this->format(), this->scope(), this->organizationName());
|
QSettings settings(this->format(), this->scope(), this->organizationName(), this->applicationName());
|
||||||
return settings.value(SettingPathsPattern, QDir::homePath()).toString();
|
return settings.value(SettingPathsPattern, QDir::homePath()).toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user