Commits

Anonymous committed 5621041

Remove old code from example4

Comments (0)

Files changed (1)

examples/example4.cpp

 	qDebug() << s.waitForConnected();
 
 	NeovimQt::NeovimConnector c(&s);
-	/**
-	 * This is a terrible idea, but works well as an example the "quit"
-	 * event will be handled by the QCoreApplication::quit() slot :D
-	 */
-	c.setNeovimEventHandler(&app);
 
 	QObject::connect(&c, &NeovimQt::NeovimConnector::notification,
 			[](const QByteArray& name, const QVariant& args) {