Skip to content

Commit 3c22251

Browse files
committed
fix: fixed formatting issue
1 parent b98faba commit 3c22251

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/AutoStartManager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ static void onPortalBackgroundRequest(GObject *source_object, GAsyncResult *res,
3232

3333
if (error != nullptr && error->code == 19) {
3434
reason = QObject::tr("Auto-start permission has been denied");
35-
explanation = QObject::tr("Please run 'flatpak permission-reset %1' and reenable auto-start.", FLATPAK_APP_ID);
35+
explanation = QObject::tr("Please run 'flatpak permission-reset %1' and reenable auto-start.").arg(FLATPAK_APP_ID);
3636
} else {
3737
reason = QObject::tr("Unknown error");
38-
explanation = QObject::tr("Please make sure a XDG Background Portal implementation is available and active to use auto-start. %1", (error) != nullptr ? error->message : "");
38+
explanation = QObject::tr("Please make sure a XDG Background Portal implementation is available and active to use auto-start. %1").arg((error) != nullptr ? error->message : "");
3939
}
4040

4141
Log::error(reason);

0 commit comments

Comments
 (0)