Skip to content

Commit

Permalink
use "" instead of "0" for notification preferences (for compatibility…
Browse files Browse the repository at this point in the history
… with the web client)

git-svn-id: svn+ssh://svn.code.sf.net/p/webissues/code/trunk/client@1773 c8fa975d-6fd4-4e76-b3b8-1a99b2ee3549
  • Loading branch information
mimecorg committed Nov 26, 2012
1 parent 645e8a6 commit 7b9186b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dialogs/preferencesdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -577,10 +577,10 @@ void PreferencesDialog::accept()
preferences.insert( "email", m_emailEdit->inputValue() );

if ( m_detailsCheckBox )
preferences.insert( "notify_details", m_detailsCheckBox->isChecked() ? "1" : "0" );
preferences.insert( "notify_details", m_detailsCheckBox->isChecked() ? "1" : "" );

if ( m_noReadCheckBox )
preferences.insert( "notify_no_read", m_noReadCheckBox->isChecked() ? "1" : "0" );
preferences.insert( "notify_no_read", m_noReadCheckBox->isChecked() ? "1" : "" );

if ( m_daysGroup ) {
QStringList list;
Expand Down

0 comments on commit 7b9186b

Please sign in to comment.