Do not show an actual popup, just the notification for the snap monitor.
This commit is contained in:
parent
d857092459
commit
367447284b
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
lubuntu-default-settings (24.04.11) noble; urgency=medium
|
||||
|
||||
* Do not show an actual popup, just the notification for the snap monitor.
|
||||
|
||||
-- Simon Quigley <tsimonq2@ubuntu.com> Wed, 17 Apr 2024 22:27:23 -0500
|
||||
|
||||
lubuntu-default-settings (24.04.10) noble; urgency=medium
|
||||
|
||||
* Do not show hibernate option in the menu. (LP: #1902497)
|
||||
|
@ -14,7 +14,6 @@
|
||||
#include <QSystemTrayIcon>
|
||||
#include <QtDBus/QtDBus>
|
||||
#include <QTimer>
|
||||
#include <QMessageBox>
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
QApplication app(argc, argv);
|
||||
@ -67,13 +66,6 @@ int main(int argc, char *argv[]) {
|
||||
QVariant newSubState = unit.property("SubState");
|
||||
if (newState.toString() == "active" && newSubState.toString() == "exited") {
|
||||
trayIcon.hide();
|
||||
QMessageBox messageBox;
|
||||
messageBox.setIcon(QMessageBox::Information);
|
||||
messageBox.setText("Background snap installation is complete.");
|
||||
messageBox.setWindowTitle("Installation Complete");
|
||||
messageBox.setStandardButtons(QMessageBox::Ok);
|
||||
messageBox.exec();
|
||||
|
||||
QApplication::quit();
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user