Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 698150f0 authored by Laurent Montel's avatar Laurent Montel 😁

Use new connect api

parent 6669383d
......@@ -69,7 +69,7 @@ App::App(int &argc, char **argv, int flags)
: QApplication(argc, argv, flags)
, m_indexer(QStringLiteral("/tmp/xap"), QStringLiteral("/tmp/xapC"))
{
QTimer::singleShot(0, this, SLOT(main()));
QTimer::singleShot(0, this, &App::main);
}
void App::main()
......
......@@ -61,7 +61,7 @@ int main(int argc, char **argv)
App::App(int &argc, char **argv, int flags): QCoreApplication(argc, argv, flags)
{
QTimer::singleShot(0, this, SLOT(main()));
QTimer::singleShot(0, this, &App::main);
}
void App::main()
......
......@@ -62,7 +62,7 @@ int main(int argc, char **argv)
App::App(int &argc, char **argv, int flags): QCoreApplication(argc, argv, flags)
{
QTimer::singleShot(0, this, SLOT(main()));
QTimer::singleShot(0, this, &App::main);
}
void App::main()
......
Markdown is supported
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