Skip to content

Commit 9dc9ff6

Browse files
authored
Update mainwindow.cpp
1 parent 3212b69 commit 9dc9ff6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/autoupdatergui/simpleUpdaterGui/mainwindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ MainWindow::~MainWindow()
3030
//Initialize the updater
3131
void MainWindow::initializeUpdater()
3232
{
33-
controller = new QtAutoUpdater::UpdateController("maintenancetool.exe", qApp); //Updater app name
33+
controller = new QtAutoUpdater::UpdateController(QStringLiteral("maintenancetool.exe"), qApp); //Updater app name
3434
if(ui->checkBox_showDetailledUpdateInformations->isChecked()) controller->setDetailedUpdateInfo(true); //If checkbox is checked, show detailled update infos
3535
else controller->setDetailedUpdateInfo(false);
3636

0 commit comments

Comments
 (0)