Ads

Release Notes


See also: Previous releases

2019-12-30  5.2

* NEW: Experimental: Added "--ui-dialog" command line option.
  This option allows you to create a custom dialog window (buttons only; no timer).
  Items are arranged in a grid layout from left to right ("=" element creates a new row).

  Syntax: --ui-dialog item1[:item2][:item3]
  Valid items:
  Buttons                    : shutdown, reboot, lock, logout, hibernate, suspend, cancel, quit, test
  Separator/Gap              : -
  Row Wrap (--ui-dialog only): =
  Menu Title (--ui-menu only): title

  Example commands:

  $ kshutdown --ui-dialog suspend:-:reboot:shutdown
  ui-dialog Example 1

  $ kshutdown --ui-dialog shutdown:reboot:-:logout:=:suspend:lock:=:-:-:-:quit
  ui-dialog Example 2

  Note: The same syntax works with the "--ui-menu" option.

Misc:

* About window: Move "About Qt" button to the bottom buttons panel
* Update GPL license www links
* Updated the Polish translation
* CHANGED: Run external programs/commands as "detached" which may fix some issues

Windows:

* UPDATED: Qt library in version 5.13.1

Source:

* FIXED: Added proper way to enable C++14 standard and fix compile error
  Bug: https://sourceforge.net/p/kshutdown/bugs/38/
* REMOVED: Obsolete stats.cpp and stats.h files
* CHANGED: i18n: Do not include line numbers in generated *.po/*.pot files
* Fixed some "QString::null" warnings (other "deprecated" warnings will be fixed later)
* Minor code cleanup