Use "users" group and not "audio" when setting the group ID of covers, lyrics, and audio files.

BUG:54
This commit is contained in:
craig.p.drummond@gmail.com
2012-08-21 11:06:42 +00:00
committed by craig.p.drummond@gmail.com
parent 62611bad53
commit d1822cefd6
9 changed files with 20 additions and 38 deletions

View File

@@ -71,13 +71,13 @@ int Application::newInstance() {
w->showNormal();
}
} else {
if (0==Utils::getAudioGroupId() && KMessageBox::Cancel==KMessageBox::warningContinueCancel(0,
i18n("You are not currently a member of the \"audio\" group. "
if (0==Utils::getGroupId() && KMessageBox::Cancel==KMessageBox::warningContinueCancel(0,
i18n("You are not currently a member of the \"users\" group. "
"Cantata will function better (saving of album covers, lyrics, etc. with the correct permissions) if you "
"(or your administrator) add yourself to this group.\n\n"
"Note, that if you do add yourself you will need to logout and back in for this to take effect.\n\n"
"Select \"Continue\" to start Cantata as is."),
i18n("Audio Group"), KStandardGuiItem::cont(), KStandardGuiItem::cancel(), "audioGroupWarning")) {
QString(), KStandardGuiItem::cont(), KStandardGuiItem::cancel(), "groupWarning")) {
QApplication::exit(0);
}
w=new MainWindow();