diff options
| author | me_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac> | 2013-10-20 19:59:32 +0000 |
|---|---|---|
| committer | me_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac> | 2013-10-20 19:59:32 +0000 |
| commit | 7d18e6fc53b400e618aeba9181188e934e23cbe1 (patch) | |
| tree | 02d4b3f87d96f3a2a2f567863e9870a1aec88544 /pica-client/picaactioncenter.cpp | |
| parent | df3ffdfe86c7c875ab1a3ef4f64236d8d97eb376 (diff) | |
| download | pica-pica-7d18e6fc53b400e618aeba9181188e934e23cbe1.tar.gz pica-pica-7d18e6fc53b400e618aeba9181188e934e23cbe1.zip | |
new dialog ShowPicaIdDialog for showing Pica ID
git-svn-id: svn://localhost/project_picapica/trunk@294 fb96df88-216d-11de-830c-f3023f12d8ac
Diffstat (limited to 'pica-client/picaactioncenter.cpp')
| -rw-r--r-- | pica-client/picaactioncenter.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/pica-client/picaactioncenter.cpp b/pica-client/picaactioncenter.cpp index a447b44..fe22c9b 100644 --- a/pica-client/picaactioncenter.cpp +++ b/pica-client/picaactioncenter.cpp @@ -5,6 +5,7 @@ #include <QApplication> #include "../PICA_proto.h" #include "accounts.h" +#include "dialogs/showpicaiddialog.h" #include <QMessageBox> @@ -50,10 +51,6 @@ void PicaActionCenter::exit() void PicaActionCenter::showmyid() { - QMessageBox mbx; - mbx.setTextFormat(Qt::RichText); - mbx.setText(tr("Account: <b>%1</b><br>Pica Pica ID: <b>%2</b>") - .arg(Accounts::GetCurrentAccount().name) - .arg(Accounts::GetCurrentAccount().id.toBase64().constData())); - mbx.exec(); + ShowPicaIdDialog d(Accounts::GetCurrentAccount().name, Accounts::GetCurrentAccount().id, tr("My Current Account")); + d.exec(); } |
