Skip to content

Commit 2064716

Browse files
committed
- Release prep.
1 parent 88bd314 commit 2064716

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

CHANGELOG

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
0.3.1 (dev)
1+
0.3.1 (2023/09/08)
22
Added german translation (thanks to Leon Schumacher - 42LoCo42).
33
Added dutch translation (thanks to Heimen Stoffels - Vistaus).
44
Added turkish translation (thanks to Mehmet Akif - madanadam).

notifier/mainwindow.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ void MainWindow::toggleEnableInterface(bool state)
450450
}
451451

452452
/*
453-
* Called right after the pkexec xbps-install -Syy command has finished!
453+
* Called right after the xbps-install -Sy command has finished!
454454
*/
455455
void MainWindow::finishedPkexec(int)
456456
{
@@ -571,9 +571,10 @@ void MainWindow::startPkexec()
571571
QProcess *xbps = new QProcess();
572572
connect(xbps, SIGNAL(finished(int)), this, SLOT(finishedPkexec(int)));
573573
QStringList sl;
574+
sl << ctn_OCTOXBPS_SUDO_PARAMS;
574575
sl << QStringLiteral("/usr/bin/xbps-install");
575576
sl << QStringLiteral("-Sy");
576-
xbps->start(QStringLiteral("pkexec"), sl);
577+
xbps->start(WMHelper::getSUCommand(), sl);
577578
}
578579

579580
/*

src/strconstants.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ QString StrConstants::getApplicationName(){
2828
}
2929

3030
QString StrConstants::getApplicationVersion(){
31-
return "0.3.1 (dev)";
31+
return "0.3.1";
3232
}
3333

3434
QString StrConstants::getQtVersion(){
@@ -734,4 +734,4 @@ QString StrConstants::getSysUpgrade()
734734
QString StrConstants::getExit()
735735
{
736736
return QObject::tr("Exit");
737-
}
737+
}

0 commit comments

Comments
 (0)