Skip to content

Commit 662a409

Browse files
Alex VolkovVogtinator
authored andcommitted
fixed wrong string literal assignment
Signed-off-by: Alex Volkov <alex@bootes.sytes.net>
1 parent 08a4a77 commit 662a409

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/daemon/Display.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ namespace SDDM {
7777
}
7878

7979
int fetchAvailableVt() {
80-
if (!isTtyInUse(QStringLiteral("tty" STRINGIFY(SDDM_INITIAL_VT)))) {
80+
if (!isTtyInUse(QStringLiteral("tty%1").arg(SDDM_INITIAL_VT))) {
8181
return SDDM_INITIAL_VT;
8282
}
8383
const auto vt = VirtualTerminal::currentVt();

0 commit comments

Comments
 (0)