From d80b35382fdd8f2653e9a25ab44584d510de6ec2 Mon Sep 17 00:00:00 2001 From: Volker Lanz Date: Wed, 18 Jan 2012 11:17:25 +0000 Subject: [PATCH] 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 --- src/gui/mainwindow.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index 316e7c7..e8d498c 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008,2009,2010 by Volker Lanz * + * Copyright (C) 2008,2009,2010,2012 by Volker Lanz * * * * 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