on xenial help sign in
Only make functions that need testing public when we're doing a test build of the binary
commit16a592dd02c94de05852598d953764cfad71add3 authorTed Gould <ted@gould.cx> dateTue 29 Apr 2014, 10:36 (12 years ago) parent8008dfb
1 file changed+2
plugins/Unity/Launcher/backend/launcherbackend.h+2
plugins/Unity/Launcher/backend/launcherbackend.h+2
@@ -184,7 +184,9 @@ private:
184184
185185 void emitPropChangedDbus(const QString& appId, const QString& property, QVariant &value) const;
186186
187+#ifdef LAUNCHER_TESTING
187188public: /* Only public to make them easier to test independently */
189+#endif
188190 LauncherBackendItem* getItem(const QString& appId) const;
189191
190192 static QString decodeAppId(const QString& path);