]> git.sur5r.net Git - minitube/commitdiff
Raise previous instance
authorFlavio Tordini <flavio.tordini@gmail.com>
Thu, 2 Jul 2009 10:39:08 +0000 (12:39 +0200)
committerFlavio Tordini <flavio.tordini@gmail.com>
Thu, 2 Jul 2009 10:39:08 +0000 (12:39 +0200)
src/main.cpp

index 6f4166f1964b205f7b3b054e34e9a58c230aa6b8..fb50341c45740733c015a732e83941dfafb442bc 100755 (executable)
@@ -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"));