Skip to content

Commit c9eebb6

Browse files
author
kbay
committed
fix release build
1 parent 46a52ab commit c9eebb6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

macos/changetitlebarcolor.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ bool isRetinaDisplay() {
3232
float displayScale = 1;
3333
if ([[NSScreen mainScreen] respondsToSelector:@selector(backingScaleFactor)]) {
3434
NSArray *screens = [NSScreen screens];
35-
NSUInteger screenCount = screens.count;
35+
int screenCount = screens.count;
3636
for (int i = 0; i < screenCount; i++) {
3737
float s = [screens[i] backingScaleFactor];
3838
if (s > displayScale)

state/a_initaccount.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ void InitAccount::submit(QString word) {
165165
// retry with submit call
166166
}
167167
else {
168-
control::MessageBox::message(nullptr, "Wrong word",
168+
control::MessageBox::messageText(nullptr, "Wrong word",
169169
"The word number " + QString::number(tasks[0].getWordIndex()) +
170170
" was typed incorrectly. " +
171171
"Please review your passphrase.");

0 commit comments

Comments
 (0)