summaryrefslogtreecommitdiff
path: root/src/plugins/cpaster/protocol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cpaster/protocol.cpp')
-rw-r--r--src/plugins/cpaster/protocol.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/cpaster/protocol.cpp b/src/plugins/cpaster/protocol.cpp
index 200d522aec..f092ef09d1 100644
--- a/src/plugins/cpaster/protocol.cpp
+++ b/src/plugins/cpaster/protocol.cpp
@@ -168,9 +168,8 @@ bool Protocol::showConfigurationError(const Protocol *p,
mb.exec();
bool rc = false;
if (mb.clickedButton() == settingsButton)
- rc = Core::ICore::showOptionsDialog(Core::Id(p->settingsPage()->category()),
- Core::Id::fromString(p->settingsPage()->id()),
- parent);
+ rc = Core::ICore::showOptionsDialog(p->settingsPage()->category(),
+ p->settingsPage()->id(), parent);
return rc;
}