Skip to content

Commit

Permalink
- BugFix: Notifier's output dialog did not save its size/position.
Browse files Browse the repository at this point in the history
- BugFix: Notifier was asking for a password when user tried to "Sync
database".
  • Loading branch information
aarnt committed Sep 26, 2023
1 parent 705f4e9 commit 7945516
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
0.3.2 (dev)
0.3.2 (2023/09/26)
Make code compatible with Qt5/Qt6 libs.
Updated project site to tintaescura.com.
BugFix: Notifier's output dialog did not save its size/position.
BugFix: Notifier was asking for a password when user tried to "Sync database".

0.3.1 (2023/09/08)
Added german translation (thanks to Leon Schumacher - 42LoCo42).
Expand Down
2 changes: 1 addition & 1 deletion notifier/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ void MainWindow::startPkexec()
sl << ctn_OCTOXBPS_SUDO_PARAMS;
sl << QStringLiteral("/usr/bin/xbps-install");
sl << QStringLiteral("-Sy");
xbps->start(WMHelper::getSUCommand(), sl);
xbps->start("pkexec", sl);
}

/*
Expand Down
4 changes: 3 additions & 1 deletion notifier/outputdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ void OutputDialog::reject()
//Let's save the dialog size value before closing it.
QByteArray windowSize=saveGeometry();
SettingsManager::setOutputDialogWindowSize(windowSize);

QDialog::reject();
}
}
Expand Down Expand Up @@ -373,7 +374,8 @@ void OutputDialog::closeEvent(QCloseEvent *event)
cancelUpgrade();
m_upgradeRunning = false;
emit finished(-1);
event->accept();
//event->accept();
reject();
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion src/strconstants.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ QString StrConstants::getApplicationName(){
}

QString StrConstants::getApplicationVersion(){
return "0.3.2 (dev)";
return "0.3.2";
}

QString StrConstants::getQtVersion(){
Expand Down

0 comments on commit 7945516

Please sign in to comment.