This commit is contained in:
@@ -135,8 +135,8 @@ void settingsDialogImpl::isAccepted() {
|
||||
if(radioButton_flipsideOwn->isChecked()) {
|
||||
if(QFile::QFile(lineEdit_OwnFlipsideFilename->text()).exists() && lineEdit_OwnFlipsideFilename->text() != "") {myConfig.writeConfigString("FlipsideOwnFile", lineEdit_OwnFlipsideFilename->text().toStdString()); }
|
||||
else { QMessageBox::warning(this, tr("Settings Error"),
|
||||
tr("The entered Flipside Picture doesn't exists.\n"
|
||||
"Please enter an valid Picture!"),
|
||||
tr("The entered flipside picture doesn't exists.\n"
|
||||
"Please enter an valid picture!"),
|
||||
QMessageBox::Ok);
|
||||
settingsCorrect = FALSE;
|
||||
}
|
||||
@@ -146,8 +146,8 @@ void settingsDialogImpl::isAccepted() {
|
||||
if(QDir::QDir(lineEdit_logDir->text()).exists() && lineEdit_logDir->text() != "") { myConfig.writeConfigString("LogDir", lineEdit_logDir->text().toStdString()); }
|
||||
else {
|
||||
QMessageBox::warning(this, tr("Settings Error"),
|
||||
tr("The Log File Directory doesn't exists.\n"
|
||||
"Please select an valid Directory!"),
|
||||
tr("The log file directory doesn't exists.\n"
|
||||
"Please select an valid directory!"),
|
||||
QMessageBox::Ok);
|
||||
settingsCorrect = FALSE;
|
||||
}
|
||||
@@ -161,7 +161,7 @@ void settingsDialogImpl::isAccepted() {
|
||||
|
||||
void settingsDialogImpl::setFlipsidePicFileName()
|
||||
{
|
||||
QString fileName = QFileDialog::getOpenFileName(this, tr("Select your Flipside Picture"),
|
||||
QString fileName = QFileDialog::getOpenFileName(this, tr("Select your flipside picture"),
|
||||
QDir::homePath(),
|
||||
tr("Images (*.bmp *.png *.xpm)"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user