Commit 74cc553c authored by Daniel Nicoletti's avatar Daniel Nicoletti

Fix action to configure newly added printer broken by commit...

Fix action to configure newly added printer broken by commit 2b80c63f
parent aad3a355
......@@ -145,7 +145,7 @@ bool NewPrinterNotification::registerService()
void NewPrinterNotification::configurePrinter()
{
QProcess::startDetached(QLatin1String("configure-printer"), { QLatin1String(PRINTER_NAME) });
QProcess::startDetached(QLatin1String("configure-printer"), { sender()->property(PRINTER_NAME).toString() });
}
void NewPrinterNotification::searchDrivers()
......
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