1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-21 15:39:41 +00:00

Removed the directoryLoaded() signal as it's only available in Qt 4.7.

This commit is contained in:
Pieter van der Kloet 2011-03-29 17:07:24 +02:00
parent 7a03266729
commit aa54975a2f

View file

@ -118,8 +118,7 @@ DataFilesDialog::DataFilesDialog()
// Signals and slots
connect(dataFilesModel, SIGNAL(directoryLoaded(const QString &)), this, SLOT(setupView()));
// connect(dataFilesModel, SIGNAL(dataChanged(const QModelIndex, const QModelIndex)), this, SLOT(readConfig()));
//connect(dataFilesModel, SIGNAL(directoryLoaded(const QString &)), this, SLOT(setupView()));
connect(dataFilesView, SIGNAL(doubleClicked(QModelIndex)), this, SLOT(setCheckstate(QModelIndex)));
connect(selectionModel, SIGNAL(currentChanged(QModelIndex, QModelIndex)), this, SLOT(changeData(QModelIndex, QModelIndex)));
@ -131,6 +130,7 @@ DataFilesDialog::DataFilesDialog()
connect(buttonBox, SIGNAL(rejected()), this, SLOT(close()));
readConfig();
setupView();
}
void DataFilesDialog::changeData(QModelIndex index, QModelIndex bottom)
@ -209,8 +209,6 @@ void DataFilesDialog::setupView()
void DataFilesDialog::readConfig()
{
qDebug() << "datachanged";
// Morrowind.ini settings
QSettings settings("Morrowind.ini",
QSettings::IniFormat);