[Users] claws qt

Aleks al-clawsmail at none.at
Sun May 28 10:18:01 CEST 2017


Hi.

I have found a bug in claws qt and want to report it.

Is the bugzilla also the right place for this?

http://www.thewildbeast.co.uk/claws-mail/bugzilla/index.cgi

A segfault happen when the current account is empty but a user want to
edit it. 

###
diff --git a/src/gui/cprefsdialogaccount.cpp b/src/gui/cprefsdialogaccount.cpp
index c9fa5a2..b0cb36e 100644
--- a/src/gui/cprefsdialogaccount.cpp
+++ b/src/gui/cprefsdialogaccount.cpp
@@ -42,7 +42,10 @@ CPrefsDialogAccount::CPrefsDialogAccount(const CAccount *account):
                m_account->setDefaultParams();
                setWindowTitle("Preferences for new account");
        } else {
-               setWindowTitle(m_account->name() + " - Account preferences");
+               qDebug() << "Current account..." << m_account;
+               // TODO: handle segfault when no current account available
+//             setWindowTitle(m_account->name() + " - Account preferences");
+               return;
        }
 
        registerPage(setup_basic_page());
###

Regards
Aleks



More information about the Users mailing list