History

Replace Application::getInstance() with qApp

Atlante45 committed 11 years ago

Commit cf3b33a1 parent 2c276bb37 files · +197 −181Browse files

Showing the changes to interface/src/ui/DataWebDialog.cpp (1 of 37 files). Show all

Unified · Split

interface/src/ui/DataWebDialog.cpp+1−1
@@ -28,7 +28,7 @@ DataWebDialog::DataWebDialog() { · 27 unmodified lines
2828 setPage(new DataWebPage(this));
2929
3030 // have the Application handle external links
31− connect(this, &QWebView::linkClicked, Application::getInstance(), &Application::openUrl);
31+ connect(this, &QWebView::linkClicked, qApp, &Application::openUrl);
3232 }
3333
3434 DataWebDialog* DataWebDialog::dialogForPath(const QString& path,