Skip to content

Commit b10a79c

Browse files
committed
example output detected runAsAdmin
1 parent f9df553 commit b10a79c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/autoupdatergui/WidgetsUpdater/mainwindow.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ void MainWindow::on_activeBox_toggled(bool checked)
8888
a->setIconVisibleInMenu(false);
8989
this->ui->menuHelp->addAction(a);
9090
this->ui->mainToolBar->addAction(a);
91+
qDebug() << "detected runAsAdmin as:" << controller->runAsAdmin();
9192
#ifdef Q_OS_OSX
9293
QMenu *dockMenu = new QMenu(this);
9394
QAction *action = this->controller->createUpdateAction(this);

0 commit comments

Comments
 (0)