mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2024-11-10 06:31:49 +00:00
Replace "Mendeley Updater" string in UpdateDialogCocoa.mm with AppInfo::name()
This commit is contained in:
parent
be2e0520ad
commit
8b757692b1
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include <Cocoa/Cocoa.h>
|
||||
|
||||
#include "AppInfo.h"
|
||||
#include "Log.h"
|
||||
#include "StringUtils.h"
|
||||
|
||||
|
@ -99,7 +100,7 @@ void UpdateDialogCocoa::init()
|
|||
d->window = [[NSWindow alloc] initWithContentRect:NSMakeRect(200, 200, width, height)
|
||||
styleMask:NSTitledWindowMask | NSMiniaturizableWindowMask
|
||||
backing:NSBackingStoreBuffered defer:NO];
|
||||
[d->window setTitle:@"Mendeley Updater"];
|
||||
[d->window setTitle:[NSString stringWithUTF8String:AppInfo::name().c_str()]];
|
||||
|
||||
d->finishButton = [[NSButton alloc] init];
|
||||
[d->finishButton setTitle:@"Finish"];
|
||||
|
|
Loading…
Reference in a new issue