mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Docs: Use Doxygen \todo comments (#6421)
* format todo comments for doxygen * Mention Todo List & link search
This commit is contained in:
parent
5d9d7d3aa5
commit
8485bbe575
14 changed files with 24 additions and 23 deletions
|
|
@ -59,7 +59,7 @@ DlgEditPassword::DlgEditPassword(QWidget *parent) : QDialog(parent)
|
|||
|
||||
void DlgEditPassword::actOk()
|
||||
{
|
||||
// TODO this stuff should be using qvalidators
|
||||
//! \todo this stuff should be using qvalidators
|
||||
if (newPasswordEdit->text().length() < 8) {
|
||||
QMessageBox::critical(this, tr("Error"), tr("Your password is too short."));
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ void DlgForgotPasswordReset::actOk()
|
|||
return;
|
||||
}
|
||||
|
||||
// TODO this stuff should be using qvalidators
|
||||
//! \todo this stuff should be using qvalidators
|
||||
if (newpasswordEdit->text().length() < 8) {
|
||||
QMessageBox::critical(this, tr("Error"), tr("Your password is too short."));
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -356,7 +356,7 @@ DlgRegister::DlgRegister(QWidget *parent) : QDialog(parent)
|
|||
|
||||
void DlgRegister::actOk()
|
||||
{
|
||||
// TODO this stuff should be using qvalidators
|
||||
//! \todo this stuff should be using qvalidators
|
||||
if (passwordEdit->text().length() < 8) {
|
||||
QMessageBox::critical(this, tr("Registration Warning"), tr("Your password is too short."));
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -1913,7 +1913,7 @@ void DlgSettings::closeEvent(QCloseEvent *event)
|
|||
}
|
||||
|
||||
if (!QDir(SettingsCache::instance().getDeckPath()).exists() || SettingsCache::instance().getDeckPath().isEmpty()) {
|
||||
// TODO: Prompt to create it
|
||||
//! \todo Prompt to create it
|
||||
if (QMessageBox::critical(
|
||||
this, tr("Error"),
|
||||
tr("The path to your deck directory is invalid. Would you like to go back and set the correct path?"),
|
||||
|
|
@ -1924,7 +1924,7 @@ void DlgSettings::closeEvent(QCloseEvent *event)
|
|||
}
|
||||
|
||||
if (!QDir(SettingsCache::instance().getPicsPath()).exists() || SettingsCache::instance().getPicsPath().isEmpty()) {
|
||||
// TODO: Prompt to create it
|
||||
//! \todo Prompt to create it
|
||||
if (QMessageBox::critical(this, tr("Error"),
|
||||
tr("The path to your card pictures directory is invalid. Would you like to go back "
|
||||
"and set the correct path?"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue