Skip to content

Commit ffa6f11

Browse files
author
Charles PIGNEROL
committed
Version 6.6.0. ActionCompletionNotifier class used to automatically display a notification at the end of an action.
1 parent 030ec53 commit ffa6f11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tests/qworkspaces.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ void QtWorkspacesMainWindow::timeoutWarningDialogCallback ( )
9898
try
9999
{
100100
sleep (3);
101-
QtMessageBox::systemNotification (UTF8String ("Dialogs and Workspaces"), UTF8String ("Un message d'avertissement a été affiché."), QtMessageBox::URGENCY_NORMAL, 10000);
101+
QtMessageBox::systemNotification (UTF8String ("Dialogs and Workspaces"), "", UTF8String ("Un message d'avertissement a été affiché."), QtMessageBox::URGENCY_NORMAL, 10000);
102102
QtMessageBox::displayWarningMessageInAppWorkspace (this, "Dialogs and Workspaces", "Ceci est un message d'avertissement");
103103
// QtWSAboutDialog* dialog = new QtWSAboutDialog (this, "App. test", "1.0.0", "http://www.myapp.com", "Boite de dialogue affichée après un délai de 5 secondes.", 0);
104104
// dialog->show ( ); // S'affiche dans le même bureau que l'application, sans changement de bureau
@@ -124,7 +124,7 @@ void QtWorkspacesMainWindow::timeoutErrorDialogCallback ( )
124124
try
125125
{
126126
sleep (5);
127-
QtMessageBox::systemNotification (UTF8String ("Dialogs and Workspaces"), UTF8String ("Un message d'erreur a été affiché."), QtMessageBox::URGENCY_CRITICAL, 3000);
127+
QtMessageBox::systemNotification (UTF8String ("Dialogs and Workspaces"), "", UTF8String ("Un message d'erreur a été affiché."), QtMessageBox::URGENCY_CRITICAL, 3000);
128128
QtMessageBox::displayErrorMessageInAppWorkspace (this, "Dialogs and Workspaces", "Ceci est un message d'erreur");
129129
// QtWSAboutDialog* dialog = new QtWSAboutDialog (this, "App. test", "1.0.0", "http://www.myapp.com", "Boite de dialogue affichée après un délai de 5 secondes.", 0);
130130
// dialog->show ( ); // S'affiche dans le même bureau que l'application, sans changement de bureau

0 commit comments

Comments
 (0)