Skip to content
Permalink
Browse files

Overlay_win: move early-return on WinX64 below variable initializations.

  • Loading branch information...
mkrautz committed Jul 16, 2014
1 parent 19efac3 commit 2e5c8a57e68c0423036e9dd14181e36ee2af7d5d
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/mumble/Overlay_win.cpp
@@ -49,15 +49,15 @@ typedef void (__cdecl *PrepProc)();
extern "C" __declspec(dllexport) void mumbleSelfDetection() {};

OverlayPrivateWin::OverlayPrivateWin(QObject *p) : OverlayPrivate(p) {
hpInstall = NULL;
hpRemove = NULL;
qlOverlay = new QLibrary(this);

#ifdef Q_OS_WIN64
qWarning("Overlay: suppressing OverlayPrivateWin initialization on x64");
return;
#endif

hpInstall = NULL;
hpRemove = NULL;
qlOverlay = new QLibrary(this);

QString path = QString::fromLatin1("%1/mumble_ol.dll").arg(qApp->applicationDirPath());
qlOverlay->setFileName(path);
if (! qlOverlay->load()) {

0 comments on commit 2e5c8a5

Please sign in to comment.
You can’t perform that action at this time.