Skip to content

Commit

Permalink
Warning of write priviledge on config file changed
Browse files Browse the repository at this point in the history
  • Loading branch information
pakdel committed Aug 27, 2011
1 parent 68d6158 commit 714b064
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dialog.cpp
Expand Up @@ -66,7 +66,9 @@ bool Dialog::loadConfig(Config * config) {
ui->pushButton->setDisabled(true);

QMessageBox msgBox;
msgBox.setText(tr("The configuration changes won't be saved. Do you have the required privilege?"));
msgBox.setText(tr("The configuration changes won't be saved.\n"
"Please either grant write privilege on %1\n"
" or use another config file").arg(config->settings->fileName()));
msgBox.setIcon(QMessageBox::Warning);
msgBox.exec();
}
Expand Down

0 comments on commit 714b064

Please sign in to comment.