diff options
Diffstat (limited to 'src/suspenddialog.cpp')
-rw-r--r-- | src/suspenddialog.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/suspenddialog.cpp b/src/suspenddialog.cpp index 5431938..cdd82c0 100644 --- a/src/suspenddialog.cpp +++ b/src/suspenddialog.cpp @@ -58,7 +58,9 @@ suspendDialog::~suspendDialog() void suspendDialog::setPixmap( TQString type ) { TQPixmap pixmap = 0; - if(type.startsWith("suspend2disk")){// || type.startsWith("NULL")) { + if(type.startsWith("suspend2disk")){ + pixmap = TDEGlobal::iconLoader()->loadIcon("suspend_to_disk", TDEIcon::NoGroup, TDEIcon::SizeLarge); + } else if(type.startsWith("suspend_hybrid")){ pixmap = TDEGlobal::iconLoader()->loadIcon("suspend_to_disk", TDEIcon::NoGroup, TDEIcon::SizeLarge); } else if (type.startsWith("suspend2ram")) { pixmap = TDEGlobal::iconLoader()->loadIcon("suspend_to_ram", TDEIcon::NoGroup, TDEIcon::SizeLarge); |