freebsd-ports/sysutils/kshutdown/files/patch-mtipp.cpp
Markus Brueffer 7ee5501f48 Add kshutdown 0.8.1, an advanced shutdown utility for KDE.
Features:
  o Turn Off Computer (logout and halt the system)
  o Restart Computer (logout and reboot the system)
  o Lock Screen (lock the screen using a screen saver)
  o End Current Session (end the current KDE session and logout the user)
  o Extras (additional, external user commands)
  o Time and delay options
  o Command line and DCOP support
  o System tray icon and panel applet
  o Visual and sound notifications
  o KDE Kiosk support

WWW: http://kshutdown.sourceforge.net/
2006-01-09 20:23:21 +00:00

11 lines
448 B
C++

--- kshutdown/mtip.cpp.orig Mon Jan 9 18:34:50 2006
+++ kshutdown/mtip.cpp Mon Jan 9 18:35:25 2006
@@ -41,7 +41,7 @@
{
// valign and "center" ?
QString leftCell = "<td align=\"center\" valign=\"center\">";
- leftCell += _iconPath.isEmpty() ? "&nbsp;" : ("<img src=\"" + _iconPath + "\">");
+ leftCell += _iconPath.isEmpty() ? QString::fromLatin1("&nbsp;") : ("<img src=\"" + _iconPath + "\">");
leftCell += "</td>";
setText(
"<qt>" \