Skip to content

Commit

Permalink
Removed unused toByteArray()
Browse files Browse the repository at this point in the history
  • Loading branch information
gyunaev committed Mar 24, 2020
1 parent a5913e0 commit 1921695
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 deletions src/setting_newemail.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,6 @@ Setting_NewEmail Setting_NewEmail::fromByteArray(const QByteArray &str)
return fromJSON( doc.object() );
}

QByteArray Setting_NewEmail::toByteArray() const
{
QJsonDocument doc( toJSON() );
return doc.toBinaryData();
}


bool Setting_NewEmail::edit()
{
DialogAddEditNewEmail dlg;
Expand Down
1 change: 0 additions & 1 deletion src/setting_newemail.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class Setting_NewEmail

// Backward compatibility serialization
static Setting_NewEmail fromByteArray( const QByteArray& str );
QByteArray toByteArray() const;

// Editing via edit dialog
bool edit();
Expand Down

0 comments on commit 1921695

Please sign in to comment.