Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/macx
diff options
context:
space:
mode:
authorMikkel Krautz <mikkel@krautz.dk>2010-03-20 17:00:31 +0300
committerMikkel Krautz <mikkel@krautz.dk>2010-03-20 17:00:31 +0300
commitb5ec788b2ef6e6a35817bf833adcda8bb8f58093 (patch)
treeae7c3292c9a6aa4140c6aa64ab2542ef7181b114 /macx
parente5e7fed9f5993b14c75475a605573a92998bf847 (diff)
Always center the alert dialog in the Mumble.compat binary.
Diffstat (limited to 'macx')
-rw-r--r--macx/compat/compat.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/macx/compat/compat.m b/macx/compat/compat.m
index 63d0347d1..8f7c7236d 100644
--- a/macx/compat/compat.m
+++ b/macx/compat/compat.m
@@ -40,6 +40,7 @@
informativeTextWithFormat:@"This version of Mumble only runs on 64-bit Intel Macs.\n\n"
"Please download the Universal version from the Mumble website instead.\n"];
[[alert window] makeKeyAndOrderFront:self];
+ [[alert window] center];
NSInteger button = [alert runModal];
if (button == NSAlertOtherReturn) {
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"http://mumble.info/"]];