From: Flavio Tordini Date: Thu, 2 Jul 2009 10:39:08 +0000 (+0200) Subject: Raise previous instance X-Git-Tag: 0.4~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=aa7ff623202b9da37e69acce170e9fcb604c44f8;p=minitube Raise previous instance --- diff --git a/src/main.cpp b/src/main.cpp index 6f4166f..fb50341 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -35,6 +35,8 @@ int main(int argc, char **argv) { mainWin.show(); + app.setActivationWindow(&mainWin, true); + // all string literals are UTF-8 QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8"));