mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-21 16:09:41 +00:00
Removed the directoryLoaded() signal as it's only available in Qt 4.7.
This commit is contained in:
parent
7a03266729
commit
aa54975a2f
1 changed files with 3 additions and 5 deletions
|
@ -118,19 +118,19 @@ DataFilesDialog::DataFilesDialog()
|
||||||
|
|
||||||
|
|
||||||
// Signals and slots
|
// Signals and slots
|
||||||
connect(dataFilesModel, SIGNAL(directoryLoaded(const QString &)), this, SLOT(setupView()));
|
//connect(dataFilesModel, SIGNAL(directoryLoaded(const QString &)), this, SLOT(setupView()));
|
||||||
// connect(dataFilesModel, SIGNAL(dataChanged(const QModelIndex, const QModelIndex)), this, SLOT(readConfig()));
|
|
||||||
|
|
||||||
connect(dataFilesView, SIGNAL(doubleClicked(QModelIndex)), this, SLOT(setCheckstate(QModelIndex)));
|
connect(dataFilesView, SIGNAL(doubleClicked(QModelIndex)), this, SLOT(setCheckstate(QModelIndex)));
|
||||||
connect(selectionModel, SIGNAL(currentChanged(QModelIndex, QModelIndex)), this, SLOT(changeData(QModelIndex, QModelIndex)));
|
connect(selectionModel, SIGNAL(currentChanged(QModelIndex, QModelIndex)), this, SLOT(changeData(QModelIndex, QModelIndex)));
|
||||||
|
|
||||||
connect(lineFilter, SIGNAL(textChanged(const QString &)), this, SLOT(setFilter()));
|
connect(lineFilter, SIGNAL(textChanged(const QString&)), this, SLOT(setFilter()));
|
||||||
|
|
||||||
connect(buttonBox->button(QDialogButtonBox::RestoreDefaults), SIGNAL(clicked()), this, SLOT(restoreDefaults()));
|
connect(buttonBox->button(QDialogButtonBox::RestoreDefaults), SIGNAL(clicked()), this, SLOT(restoreDefaults()));
|
||||||
connect(buttonBox, SIGNAL(accepted()), this, SLOT(writeConfig()));
|
connect(buttonBox, SIGNAL(accepted()), this, SLOT(writeConfig()));
|
||||||
connect(buttonBox, SIGNAL(rejected()), this, SLOT(close()));
|
connect(buttonBox, SIGNAL(rejected()), this, SLOT(close()));
|
||||||
|
|
||||||
readConfig();
|
readConfig();
|
||||||
|
setupView();
|
||||||
}
|
}
|
||||||
|
|
||||||
void DataFilesDialog::changeData(QModelIndex index, QModelIndex bottom)
|
void DataFilesDialog::changeData(QModelIndex index, QModelIndex bottom)
|
||||||
|
@ -209,8 +209,6 @@ void DataFilesDialog::setupView()
|
||||||
|
|
||||||
void DataFilesDialog::readConfig()
|
void DataFilesDialog::readConfig()
|
||||||
{
|
{
|
||||||
qDebug() << "datachanged";
|
|
||||||
|
|
||||||
// Morrowind.ini settings
|
// Morrowind.ini settings
|
||||||
QSettings settings("Morrowind.ini",
|
QSettings settings("Morrowind.ini",
|
||||||
QSettings::IniFormat);
|
QSettings::IniFormat);
|
||||||
|
|
Loading…
Reference in a new issue