Fix polkit autostarting

This commit is contained in:
Victor Tran 2021-04-03 00:45:51 +11:00
parent 38d2427c5f
commit bccc8102b7
No known key found for this signature in database
GPG key ID: 1F0729FE016CDC3E
4 changed files with 11 additions and 6 deletions

View file

@ -37,7 +37,7 @@
</layout>
</item>
<item>
<widget class="QPushButton" name="lastDesktopButton">
<widget class="QToolButton" name="lastDesktopButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
@ -50,9 +50,6 @@
<property name="checkable">
<bool>true</bool>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item>

View file

@ -1,6 +1,6 @@
Name: thedesk-blueprint
Version: beta4
Release: 8%{?dist}
Release: 9%{?dist}
Summary: Desktop Environment built on Qt
License: GPLv3+

View file

@ -179,6 +179,9 @@ void SplashController::runAutostart() {
if (!app->getStringList("OnlyShowIn", {"thedesk"}).contains("thedesk")) continue;
if (app->getStringList("NotShowIn").contains("thedesk")) continue;
//Blacklist Touchegg
if (desktopEntry == "touchegg") continue;
if (app->hasProperty("TryExec")) {
QString tryExecPath = app->getProperty("TryExec").toString();
if (tryExecPath.startsWith("/")) {

View file

@ -5,7 +5,12 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++11
# Include the-libs build tools
include(/usr/share/the-libs/pri/gentranslations.pri)
# Include the-libs build tools
equals(THELIBS_BUILDTOOLS_PATH, "") {
THELIBS_BUILDTOOLS_PATH = $$[QT_INSTALL_PREFIX]/share/the-libs/pri
}
include($$THELIBS_BUILDTOOLS_PATH/gentranslations.pri)
include($$THELIBS_BUILDTOOLS_PATH/varset.pri)
# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings