mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 02:42:50 +00:00
kinfocenter: warning on solid device cast failure
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
376db0eb05
commit
18b4287ea1
1 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ class SolDevice : public QTreeWidgetItem
|
|||
IFace *dev = tiedDevice.as<const IFace>();
|
||||
if(!dev)
|
||||
{
|
||||
kDebug() << i18n("Device unable to be cast to correct device") << endl;
|
||||
kWarning() << i18n("Device unable to be cast to correct device");
|
||||
}
|
||||
return dev;
|
||||
} else {
|
||||
|
@ -89,7 +89,7 @@ class SolDevice : public QTreeWidgetItem
|
|||
{
|
||||
IFace *dev = device.as<const IFace>();
|
||||
if(!dev) {
|
||||
kDebug() << i18n("Device unable to be cast to correct device") << endl;
|
||||
kWarning() << i18n("Device unable to be cast to correct device");
|
||||
}
|
||||
return dev;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue