Cherry-picking upstream version 0.12.0.

ubuntu/cosmic
Alf Gaida 7 years ago
parent 9060714af9
commit aaff8c8e50

2
.gitignore vendored

@ -1,2 +0,0 @@
build
translations/lxqt-sudo

@ -2,7 +2,7 @@ Upstream Authors:
LXQt team: http://lxqt.org LXQt team: http://lxqt.org
Copyright: Copyright:
Copyright (c) 2015-2016 LXQt team Copyright (c) 2015-2017 LXQt team
License: LGPL-2.1+ License: LGPL-2.1+
The full text of the licenses can be found in the 'LICENSE' file. The full text of the licenses can be found in the 'LICENSE' file.

@ -1,7 +1,17 @@
lxqt-sudo-0.11.1 / 2017-01-01 lxqt-sudo-0.12.0 / 2017-10-21
============================= =============================
* Set informal patch version
* Added basic .gitattributes
* Drops Qt5Core_VERSION_STRING
* set Qt::AA_UseHighDpiPixmaps to true
* Bump year
0.11.1 / 2017-01-01
===================
* Release 0.11.1: Update changelog
* Make CMakeLists.txt more uniform. * Make CMakeLists.txt more uniform.
0.11.0 / 2016-09-24 0.11.0 / 2016-09-24

@ -12,10 +12,13 @@ option(UPDATE_TRANSLATIONS "Update source translation translations/*.ts files" O
option(PULL_TRANSLATIONS "Pull translations" ON) option(PULL_TRANSLATIONS "Pull translations" ON)
find_package(Qt5Widgets REQUIRED) find_package(Qt5Widgets REQUIRED)
message(STATUS "Building with Qt${Qt5Core_VERSION_STRING}") message(STATUS "Building with Qt${Qt5Core_VERSION}")
find_package(lxqt REQUIRED) find_package(lxqt REQUIRED)
# Patch version 0
include(LXQtCompilerSettings NO_POLICY_SCOPE) include(LXQtCompilerSettings NO_POLICY_SCOPE)
set ( LINK_LXSU "lxsu") set ( LINK_LXSU "lxsu")

@ -32,6 +32,8 @@ int main(int argc, char **argv)
{ {
LXQt::Application app(argc, argv, true); LXQt::Application app(argc, argv, true);
app.setQuitOnLastWindowClosed(false); app.setQuitOnLastWindowClosed(false);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
Sudo s; Sudo s;
return s.main(); return s.main();
} }

Loading…
Cancel
Save