From 0249980607986b1b786886f61dc7d68dfb5b2420 Mon Sep 17 00:00:00 2001 From: kh1 Date: Thu, 28 Feb 2013 17:30:06 +0100 Subject: Use Q_GLOBAL_STATIC{_WITH_ARGS} following Qt coding conventions. Move the regexp into its own compilation unit, so we get it only once and use a accessor to fetch the value. I guess we should do the same with the constants file, as all strings get compiled in the file including it. At least Ossi wasn't satisfied currently. Change-Id: Ic495a82f4b3cfe7810523b12cd3ef255eb15f149 Reviewed-by: Tim Jenssen Reviewed-by: Karsten Heimrich --- src/libs/installer/installer.pro | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/libs/installer/installer.pro') diff --git a/src/libs/installer/installer.pro b/src/libs/installer/installer.pro index e696bf994..79500b2d5 100644 --- a/src/libs/installer/installer.pro +++ b/src/libs/installer/installer.pro @@ -104,7 +104,8 @@ HEADERS += packagemanagercore.h \ createlinkoperation.h \ packagemanagercoredata.h \ registerqtincreatorqnxoperation.h \ - applyproductkeyoperation.h + applyproductkeyoperation.h \ + globals.h SOURCES += packagemanagercore.cpp \ packagemanagercore_p.cpp \ @@ -173,7 +174,8 @@ HEADERS += packagemanagercore.h \ createlinkoperation.cpp \ packagemanagercoredata.cpp \ registerqtincreatorqnxoperation.cpp \ - applyproductkeyoperation.cpp + applyproductkeyoperation.cpp \ + globals.cpp RESOURCES += resources/patch_file_lists.qrc \ resources/installer.qrc -- cgit v1.2.3