Debug output.
This commit is contained in:
parent
423c9ccfb7
commit
015aeb6b07
@ -21,6 +21,7 @@
|
|||||||
#include "core/PartitionModel.h"
|
#include "core/PartitionModel.h"
|
||||||
|
|
||||||
#include "utils/CalamaresUtilsGui.h"
|
#include "utils/CalamaresUtilsGui.h"
|
||||||
|
#include "utils/Logger.h"
|
||||||
|
|
||||||
// KPMcore
|
// KPMcore
|
||||||
#include <kpmcore/core/device.h>
|
#include <kpmcore/core/device.h>
|
||||||
@ -106,6 +107,8 @@ DeviceModel::swapDevice( Device* oldDevice, Device* newDevice )
|
|||||||
{
|
{
|
||||||
Q_ASSERT( oldDevice );
|
Q_ASSERT( oldDevice );
|
||||||
Q_ASSERT( newDevice );
|
Q_ASSERT( newDevice );
|
||||||
|
cDebug() << "swapDevice\nOLD DEVICE:" << oldDevice->deviceNode()
|
||||||
|
<< "\nNEW DEVICE:" << newDevice->deviceNode();
|
||||||
Q_ASSERT( oldDevice->deviceNode() == newDevice->deviceNode() );
|
Q_ASSERT( oldDevice->deviceNode() == newDevice->deviceNode() );
|
||||||
|
|
||||||
int indexOfOldDevice = m_devices.indexOf( oldDevice );
|
int indexOfOldDevice = m_devices.indexOf( oldDevice );
|
||||||
|
Loading…
Reference in New Issue
Block a user