summaryrefslogtreecommitdiffstats
path: root/pica-client/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pica-client/mainwindow.cpp')
-rw-r--r--pica-client/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pica-client/mainwindow.cpp b/pica-client/mainwindow.cpp
index d6f17c9..1d789e4 100644
--- a/pica-client/mainwindow.cpp
+++ b/pica-client/mainwindow.cpp
@@ -86,7 +86,7 @@ void MainWindow::SetStatus(bool connected)
{
status->setCurrentIndex(0);
setWindowTitle(tr("Pica Pica Messenger - ") +
- QByteArray((const char*)account_id, PICA_ID_SIZE).toBase64().left(8) + "...");
+ Accounts::GetCurrentAccount().id.toBase64().left(8) + "...");
}
else
{