Commit 5bf8c8bc authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use QOverload<>::of

parent 82aa1729
......@@ -145,7 +145,7 @@ EwsConfigDialog::EwsConfigDialog(EwsResource *parentResource, EwsClient &client,
connect(mUi->clearFolderTreeSyncStateButton, &QPushButton::clicked, mParentResource,
&EwsResource::clearFolderTreeSyncState);
connect(mUi->clearFolderItemSyncStateButton, &QPushButton::clicked, mParentResource,
static_cast<void (EwsResource::*)()>(&EwsResource::clearFolderSyncState));
QOverload<>::of(&EwsResource::clearFolderSyncState));
}
EwsConfigDialog::~EwsConfigDialog()
......
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