Commit Graph

29 Commits

Author SHA1 Message Date
Andrius Štikonas cc43e8b706 Fix out of bounds access.
BUG: 396099
2018-07-07 14:12:25 +01:00
Andrius Štikonas 2137fa58b8 Explicitely specify the scope of FileSystem::Type enum. 2018-04-07 19:54:55 +01:00
Andrius Štikonas 3c9d85d842 Use enums instead of ints when choosing filesystem color in KConfig. 2018-04-07 19:05:05 +01:00
Andrius Štikonas 3eae84de13 Adapt to kpmcore API changes std::array->std::vector. 2018-04-05 21:54:55 +01:00
Andrius Štikonas a1a535cb03 Remove checkPermissions code. 2018-03-19 02:45:18 +01:00
Andrius Štikonas fa65cd116b Use defaultBackend from kpmcore.
Do not duplicate the same thing in partitionmanager.kcfg
2018-01-31 18:50:33 +00:00
Andrius Štikonas f29656ca45 Move showColumnsContextMenu function from kpmcore to partitionmanager. 2017-09-14 20:42:43 +01:00
Andrius Štikonas 4b68a0cba0 Add support for UDF file system. 2017-08-31 10:21:20 +01:00
Andrius Štikonas 64463944f7 Workaround for 380974.
If DBUS_SESSION_BUS_ADDRESS is not defined then try to determine it from
~/.dbus/session/bus/ and pass to partitionmanager running as root.

This fixes a long delay before KMessageBoxes become usable.
The delay happens when using KNotifications >= 5.33.
2017-06-13 22:12:58 +02:00
Andrius Štikonas 4e78cd9ff1 Pass DBUS_SESSION_BUS_ADDRESS environmental variable.
This is necessary for disabling Plasma automounter on Wayland.

BUG: 368175
2017-06-13 00:06:39 +02:00
Andrius Štikonas 42fc14cad1 Add a note about kdesu configuration 2017-05-31 21:49:17 +01:00
Andrius Štikonas 3cefd3f087 Revert "Pass through /home/andrius environmental variable to use ~/.config/ and user theme."
This reverts commit 408edd7f15.
2017-01-09 12:27:24 +00:00
Andrius Štikonas 408edd7f15 Pass through /home/andrius environmental variable to use ~/.config/ and user theme. 2017-01-05 18:32:28 +00:00
Andrius Štikonas 3c465a4cb6 Pass more variables to sudo for Wayland support. 2016-10-27 01:51:50 +01:00
Andrius Štikonas c84026a27e Pass KDE_FULL_SESSION variable to sudo if it was defined in the initial environment. 2016-10-19 21:26:59 +01:00
Andrius Štikonas 5267f9825a Convert some more for loops to ranged based loop. 2016-08-15 17:38:00 +01:00
Andrius Štikonas 35db33089b Add more KUIT string contexts. 2016-08-15 16:57:43 +01:00
Andrius Štikonas f81cb3cc30 Improve semantic markup. 2016-07-18 02:21:14 +01:00
Andrius Štikonas cf891183cb
Always use because it is type safe. 2016-04-14 19:18:36 +01:00
Andrius Štikonas 9c91e25e96 Update copyright. 2016-03-02 18:33:40 +00:00
Andrius Štikonas 3ccc829483 Add a comment. 2016-01-31 14:23:49 +00:00
Andrius Štikonas 53e1413d06 Look for kdesu binary in libexec path. 2016-01-29 16:44:17 +00:00
Andrius Štikonas 15b7fa3470 kpmcore/ prefix in #includes is no longer required. 2016-01-12 00:12:49 +00:00
Teo Mrnjavac 48a2090b48 Generate color codes array from Settings. 2015-07-17 13:37:08 +02:00
Andrius Štikonas 81004a2445 Format partitionmanager code using KDE style. 2015-07-13 17:17:41 +03:00
Andrius Štikonas 618468742c Move FileSystem::defaultFileSystem to GUI. 2015-06-30 22:22:13 +03:00
Andrius Štikonas a58a041e6a Move Capacity::preferredUnit to GUI. 2015-06-14 02:06:18 +01:00
Andrius Štikonas 11b097141a Move createFileSystemColor back to GUI. 2015-06-12 13:11:29 +01:00
Andrius Štikonas b651d8de89 Move kpmcore to another repository (sysadmin/kpmcore) 2015-06-04 01:51:56 +01:00