From ca08729d2428c0d85efa7a9db0a916da5e17cd56 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Mon, 3 Jun 2013 16:17:59 +0200 Subject: [PATCH] Show DBID/nodeId in DiagnosticsDialog --- src/tomahawk/DiagnosticsDialog.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/tomahawk/DiagnosticsDialog.cpp b/src/tomahawk/DiagnosticsDialog.cpp index 4091a7af0..71505bd5c 100644 --- a/src/tomahawk/DiagnosticsDialog.cpp +++ b/src/tomahawk/DiagnosticsDialog.cpp @@ -33,6 +33,8 @@ #include "utils/Logger.h" #include "infosystem/InfoSystem.h" #include "infosystem/InfoSystemWorker.h" +#include "database/Database.h" +#include "database/DatabaseImpl.h" #include #include @@ -64,7 +66,8 @@ DiagnosticsDialog::updateLogView() log.append( QString( "TOMAHAWK DIAGNOSTICS LOG -%1 \n\n" ).arg( QDateTime::currentDateTime().toString() ) ); log.append( "TOMAHAWK-VERSION: " TOMAHAWK_VERSION "\n" ); - log.append( "PLATFORM: " TOMAHAWK_SYSTEM "\n\n"); + log.append( "PLATFORM: " TOMAHAWK_SYSTEM "\n"); + log.append( QString( "DBID: %1\n\n" ).arg( Database::instance()->impl()->dbid() ) ); log.append( "NETWORK:\n Listening to:\n" ); if ( Servent::instance()->visibleExternally() )