Andrius Štikonas
6fc116a034
Bump version to 4.2.0 in preparation for future release.
2020-10-02 00:05:24 +01:00
Andrius Štikonas
ad48c72af8
Switch to SPDX license headers.
2020-09-16 00:35:12 +01:00
Andrius Štikonas
77354e4599
Fix a link in About dialog.
...
Bug: 423338
2020-06-22 10:37:13 +01:00
Caio Jordão Carvalho
a0ce2ecbbe
Including credits to Caio in aboutData
2019-09-18 00:03:19 +00:00
Andrius Štikonas
a5652e604e
Update copyright year in about dialog.
2019-05-01 00:35:15 +01:00
Andrius Štikonas
9e0ae352f5
Set QApplication Window Icon.
...
Otherwise Help->About KPMcore dialog has no icon.
BUG: 397209
2018-10-28 21:21:42 +00:00
Andrius Štikonas
30815be85c
Remove Kdelibs4ConfigMigrator
...
Config is no longer stored in root home folder, so migration cannot be done as
we have no access to root folder when running as unprivileged user.
2018-06-08 11:23:06 +01:00
Andrius Štikonas
3054fa1599
Update copyright year.
2018-04-16 22:25:59 +03:00
Andrius Štikonas
2846f9adba
Set KAuth parent widget.
2018-04-15 01:35:55 +03:00
Andrius Štikonas
93f18ebd9f
Show MainWindow before KAuth dialog.
2018-04-15 01:03:41 +03:00
Andrius Štikonas
73fef8d69c
Revert "Unnecessary use of a pointer for MainWindow."
...
This reverts commit f33695eb2f
.
2018-04-02 13:01:56 +01:00
Andrius Štikonas
f33695eb2f
Unnecessary use of a pointer for MainWindow.
2018-04-02 01:25:21 +01:00
Andrius Štikonas
c40a729ba7
Do not allow the second instance of Partition Manager.
...
BUG: 365882
2018-03-24 22:26:45 +00:00
Andrius Štikonas
d37c0ef9ce
Revert "Disallow executing KDE Partition Manager as root."
...
This reverts commit cfa53f6d3c
.
2018-03-22 20:13:58 +00:00
Andrius Štikonas
cfa53f6d3c
Disallow executing KDE Partition Manager as root.
...
Summary:
Running GUI applications as root is a huge security risk. Especially
the X server is not secured for that. Non-root applications can easily
interact with a root running application and thus try to exploit simple
bugs in either kate/kwrite itself or in the underlying libraries such
as Qt, XLib or xcb.
On Wayland the situation can be considered worse as the compositor is
running as the normal user and is not protected to handle root windows.
It can be rather trivial to attack the root running application from the
compositor through interfaces such as scripting. This is not in the aim
of the compositors to protect against.
This change introduces a check whether the application is started as
root before any interaction with X or Wayland happens, that is prior to
creating the QApplication. If it is detected that we run as root, we
exit and print an information about how to properly edit an application
in kwrite/kate as root. The text is deliberatly not translated to keep
the threat from running as root as low as possible.
See also Differential Revision: https://phabricator.kde.org/D4634
2018-03-22 17:39:04 +00:00
Andrius Štikonas
62a3b57c2d
Remove --dontsu command line option.
2018-03-19 16:24:49 +01:00
Andrius Štikonas
a1a535cb03
Remove checkPermissions code.
2018-03-19 02:45:18 +01:00
Andrius Štikonas
74d609a782
Always show Advanced config page.
2018-01-16 15:14:47 +01:00
Andrius Štikonas
b7fdd6e4c4
Don't repeat work of KAboutData::setupCommandLine().
2017-10-11 00:20:03 +01:00
Andrius Štikonas
7ca06a74ae
Update credits.
2017-10-02 01:40:14 +01:00
Andrius Štikonas
9348e14b01
Update credits: Pali Rohár
2017-09-10 18:04:04 +01:00
Andrius Štikonas
71481dd606
Fix desktop file.
...
KDE Partition Manager restarts itself with correct environmental variables.
BUG: 374272
2017-01-02 13:37:24 +02:00
Andrius Štikonas
f8c172a5c0
Revert "Do not allow the second instance of Partition Manager"
...
This reverts commit 71510d2709
.
2016-10-06 17:59:17 +01:00
Andrius Štikonas
c30a983921
Add more KUIT string contexts.
2016-08-25 00:22:32 +01:00
Andrius Štikonas
784758831b
Add Chantara Tith to credits.
2016-08-15 17:41:11 +01:00
Andrius Štikonas
35db33089b
Add more KUIT string contexts.
2016-08-15 16:57:43 +01:00
Andrius Štikonas
71510d2709
Do not allow the second instance of Partition Manager
...
BUG: 365882
2016-07-20 12:36:36 +01:00
Andrius Štikonas
63683b5712
Use C++11 initializer list.
2016-07-13 22:47:17 +01:00
Andrius Štikonas
a0ba49a26d
Add more command line options (license, author, etc.).
2016-07-12 23:59:01 +01:00
Andrius Štikonas
ed5379236b
Move Teo from Credits to Authors.
2016-05-06 22:52:17 +01:00
Andrius Štikonas
59544f4712
Update copyright in About dialog.
...
Update credits.
2016-03-02 19:20:51 +00:00
Andrius Štikonas
15b7fa3470
kpmcore/ prefix in #includes is no longer required.
2016-01-12 00:12:49 +00:00
Andrius Štikonas
d7a77c8934
Initialize KCrash.
2015-12-05 19:25:04 +00:00
Andrius Štikonas
81004a2445
Format partitionmanager code using KDE style.
2015-07-13 17:17:41 +03:00
Andrius Štikonas
b651d8de89
Move kpmcore to another repository (sysadmin/kpmcore)
2015-06-04 01:51:56 +01:00
Andrius Štikonas
1093b3c4f5
Create QApplication first.
2015-04-26 14:22:55 +01:00
Andrius Štikonas
9d135978ad
Add HiDPI support.
2015-04-09 23:26:52 +03:00
Andrius Štikonas
0ce605e7bd
Move KAboutData setup code out of util/helpers.cpp to main.cpp.
2015-03-28 00:48:51 +00:00
Andrius Štikonas
bbb2fa3067
Use GPLv3 copyright notices.
2015-02-07 00:32:25 +00:00
Andrius Štikonas
109d35d9f4
Fix build.
2014-11-19 12:05:22 +00:00
Andrius Štikonas
17e2cbcd5b
Migrate settings from KDE4
2014-11-14 21:56:44 +00:00
Lasse Liehu
1a1f71bb1d
Make most of i18n work again
...
With this most UI messages appear as translated again.
Some messages still appear as untranslated.
Now I don't need to install an old version of partitionmanager
just to test translations. :)
2014-10-19 17:55:29 +03:00
Andrius Štikonas
204d2f9799
Remove all remaining functions depending on Solid.
2014-08-09 22:06:27 +03:00
Andrius Štikonas
d56ee33cf1
KAboutData::setApplicationData already passes the required information to QApplication.
2014-06-01 15:56:43 +01:00
Andrius Štikonas
7fbae9ee29
Port to new Qt5 macro QStringLiteral and use stricter compile flags
...
Now compile with:
-DQT_USE_QSTRINGBUILDER
-DQT_NO_CAST_TO_ASCII
-DQT_NO_CAST_FROM_ASCII
-DQT_STRICT_ITERATORS
-DQT_NO_URL_CAST_FROM_STRING
-DQT_NO_CAST_FROM_BYTEARRAY
-DQT_NO_SIGNALS_SLOTS_KEYWORDS
-DQT_USE_FAST_OPERATOR_PLUS
2014-05-20 22:33:02 +01:00
Andrius Štikonas
f3dd3157a6
Initial port to KDE Frameworks 5.
...
The port is mostly complete:
* A few unported items are marked with FIXME: port KF5.
* KCFG configuration for QGroupBox is not working yet.
2014-05-18 21:41:48 +01:00
Andrius Štikonas
3f301f99aa
Partially port away from KUrl.
2014-05-17 03:34:51 +01:00
Andrius Štikonas
ed431cfcd5
Partially port away from KLocale.
...
KLocale was replaced with KLocalizedString and QLocale.
Only changes that do not break compilation with KDELibs4 are made.
2014-05-13 23:53:37 +01:00
Volker Lanz
b4d02bda27
show an error message box if no accessible devices are found on program launch
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1250081
2011-08-29 10:51:42 +00:00
Volker Lanz
355f10f41e
update year in copyright header
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1249930
2011-08-28 18:35:03 +00:00