log backend plugin and version when scanning devices. generally not a bad idea,

but currently required to make sure we run with the correct libparted version
during development.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1274437
This commit is contained in:
Volker Lanz 2012-01-18 11:17:25 +00:00
parent 3745aa758f
commit d80b35382f
1 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,5 @@
/***************************************************************************
* Copyright (C) 2008,2009,2010 by Volker Lanz <vl@fidra.de> *
* Copyright (C) 2008,2009,2010,2012 by Volker Lanz <vl@fidra.de> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
@ -561,6 +561,10 @@ void MainWindow::onShowMenuBar()
void MainWindow::scanDevices()
{
Log(Log::information) << i18nc("@info/plain", "Using backend plugin: %1 (%2)",
CoreBackendManager::self()->backend()->about().programName(),
CoreBackendManager::self()->backend()->about().version());
Log() << i18nc("@info/plain", "Scanning devices...");
// remember the currently selected device's node