Skip to content

Commit 7945516

Browse files
committed
- BugFix: Notifier's output dialog did not save its size/position.
- BugFix: Notifier was asking for a password when user tried to "Sync database".
1 parent 705f4e9 commit 7945516

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

CHANGELOG

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
0.3.2 (dev)
1+
0.3.2 (2023/09/26)
22
Make code compatible with Qt5/Qt6 libs.
33
Updated project site to tintaescura.com.
4+
BugFix: Notifier's output dialog did not save its size/position.
5+
BugFix: Notifier was asking for a password when user tried to "Sync database".
46

57
0.3.1 (2023/09/08)
68
Added german translation (thanks to Leon Schumacher - 42LoCo42).

notifier/mainwindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ void MainWindow::startPkexec()
574574
sl << ctn_OCTOXBPS_SUDO_PARAMS;
575575
sl << QStringLiteral("/usr/bin/xbps-install");
576576
sl << QStringLiteral("-Sy");
577-
xbps->start(WMHelper::getSUCommand(), sl);
577+
xbps->start("pkexec", sl);
578578
}
579579

580580
/*

notifier/outputdialog.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ void OutputDialog::reject()
232232
//Let's save the dialog size value before closing it.
233233
QByteArray windowSize=saveGeometry();
234234
SettingsManager::setOutputDialogWindowSize(windowSize);
235+
235236
QDialog::reject();
236237
}
237238
}
@@ -373,7 +374,8 @@ void OutputDialog::closeEvent(QCloseEvent *event)
373374
cancelUpgrade();
374375
m_upgradeRunning = false;
375376
emit finished(-1);
376-
event->accept();
377+
//event->accept();
378+
reject();
377379
}
378380
else
379381
{

src/strconstants.cpp

Lines changed: 1 addition & 1 deletion
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.2 (dev)";
31+
return "0.3.2";
3232
}
3333

3434
QString StrConstants::getQtVersion(){

0 commit comments

Comments
 (0)