Adjusted to new normalized device icon names in tdelibs.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/3/head
Michele Calgaro 6 years ago committed by TDE Gitea
parent 700bd152d7
commit 12554e4e1d

@ -5440,7 +5440,7 @@ DiskErrorDialog::DiskErrorDialog(const TQString &titleMessage, const TQString &m
//enableButtonOK(false); //enableButtonOK(false);
setModal(true); setModal(true);
TQHBoxLayout *layout = new TQHBoxLayout(plainPage(), /*margin=*/0, spacingHint()); TQHBoxLayout *layout = new TQHBoxLayout(plainPage(), /*margin=*/0, spacingHint());
TQPixmap icon = kapp->iconLoader()->loadIcon("drive-harddisk", TDEIcon::NoGroup, 64, TDEIcon::DefaultState, /*path_store=*/0L, /*canReturnNull=*/true); TQPixmap icon = kapp->iconLoader()->loadIcon("drive-harddisk-unmounted", TDEIcon::NoGroup, 64, TDEIcon::DefaultState, /*path_store=*/0L, /*canReturnNull=*/true);
TQLabel *iconLabel = new TQLabel(plainPage()); TQLabel *iconLabel = new TQLabel(plainPage());
iconLabel->setPixmap(icon); iconLabel->setPixmap(icon);
iconLabel->setFixedSize(iconLabel->sizeHint()); iconLabel->setFixedSize(iconLabel->sizeHint());

Loading…
Cancel
Save