From aa7ff623202b9da37e69acce170e9fcb604c44f8 Mon Sep 17 00:00:00 2001 From: Flavio Tordini Date: Thu, 2 Jul 2009 12:39:08 +0200 Subject: [PATCH] Raise previous instance --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) 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")); -- 2.39.5