Commit 4f30ad34 authored by David Edmundson's avatar David Edmundson
Browse files

Fix typo

parent 47d513b7
......@@ -73,7 +73,7 @@ DesktopView::DesktopView(Plasma::Corona *corona, QScreen *targetScreen)
// Note: hasOpenGLShaderPrograms is broken, see QTBUG--39730
if (!QOpenGLShaderProgram::hasOpenGLShaderPrograms(openglContext())) {
qWarning() << "GLSL not available, Plasma won't be functional";
QMetaObject::invokeMethod(corona, "glIinitializationFailed", Qt::QueuedConnection);
QMetaObject::invokeMethod(corona, "glInitializationFailed", Qt::QueuedConnection);
}
}, Qt::DirectConnection);
}
......
......@@ -184,7 +184,7 @@ int main(int argc, char *argv[])
KDBusService service(KDBusService::Unique);
QObject::connect(ShellManager::instance(), &ShellManager::glIinitializationFailed, &app, [&app]() {
QObject::connect(ShellManager::instance(), &ShellManager::glInitializationFailed, &app, [&app]() {
//scene graphs errors come from a thread
//even though we process them in the main thread, app.exit could still process these events
static bool s_multipleInvokations = false;
......
......@@ -1193,7 +1193,7 @@ void ShellCorona::addOutput(QScreen* screen)
DesktopView *view = new DesktopView(this, screen);
if (view->rendererInterface()->graphicsApi() != QSGRendererInterface::Software) {
connect(view, &QQuickWindow::sceneGraphError, this, &ShellCorona::glIinitializationFailed);
connect(view, &QQuickWindow::sceneGraphError, this, &ShellCorona::glInitializationFailed);
}
connect(screen, &QScreen::geometryChanged, this, [=]() {
const int id = m_screenPool->id(screen->name());
......@@ -1283,7 +1283,7 @@ void ShellCorona::createWaitingPanels()
QScreen *screen = m_desktopViewforId.value(requestedScreen)->screenToFollow();
PanelView* panel = new PanelView(this, screen);
if (panel->rendererInterface()->graphicsApi() != QSGRendererInterface::Software) {
connect(panel, &QQuickWindow::sceneGraphError, this, &ShellCorona::glIinitializationFailed);
connect(panel, &QQuickWindow::sceneGraphError, this, &ShellCorona::glInitializationFailed);
}
connect(panel, &QWindow::visibleChanged, this, &Plasma::Corona::availableScreenRectChanged);
connect(panel, &PanelView::locationChanged, this, &Plasma::Corona::availableScreenRectChanged);
......
......@@ -114,7 +114,7 @@ public:
QString defaultContainmentPlugin() const;
Q_SIGNALS:
void glIinitializationFailed();
void glInitializationFailed();
public Q_SLOTS:
/**
......
......@@ -91,8 +91,8 @@ void ShellManager::loadHandlers()
Q_ASSERT(!d->corona);
d->corona = new ShellCorona(this);
connect(d->corona, &ShellCorona::glIinitializationFailed,
this, &ShellManager::glIinitializationFailed);
connect(d->corona, &ShellCorona::glInitializationFailed,
this, &ShellManager::glInitializationFailed);
connect(
this, &ShellManager::shellChanged,
......
......@@ -58,7 +58,7 @@ public Q_SLOTS:
Q_SIGNALS:
void shellChanged(const QString & shell);
void glIinitializationFailed();
void glInitializationFailed();
private Q_SLOTS:
void loadHandlers();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment