From 78882ff6b13ea8c5e7c14bee51c87f199e9c8a20 Mon Sep 17 00:00:00 2001 From: Orochimarufan Date: Fri, 18 Oct 2013 18:42:41 +0200 Subject: Fix MainWindow Icon; Fix WM_CLASS issue; now links QX11Extras and libxcb on linux --- gui/platform_other.cpp | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 gui/platform_other.cpp (limited to 'gui/platform_other.cpp') diff --git a/gui/platform_other.cpp b/gui/platform_other.cpp new file mode 100644 index 00000000..0d7bcbe7 --- /dev/null +++ b/gui/platform_other.cpp @@ -0,0 +1,27 @@ +/* Copyright 2013 MultiMC Contributors + * + * Authors: Orochimarufan + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +/** + * Stub for non-X11 platforms + * @brief MultiMCPlatform::fixWM_CLASS + * @param widget + */ +MultiMCPlatform::fixWM_CLASS(QWidget *widget) +{ + Q_UNUSED(widget); +} -- cgit From dcf58cdf12ae9370ba1bf9d6bb789649db82e520 Mon Sep 17 00:00:00 2001 From: Orochimarufan Date: Fri, 18 Oct 2013 19:01:40 +0200 Subject: Derp - typo in platform_other.cpp --- gui/platform_other.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui/platform_other.cpp') diff --git a/gui/platform_other.cpp b/gui/platform_other.cpp index 0d7bcbe7..a41abe36 100644 --- a/gui/platform_other.cpp +++ b/gui/platform_other.cpp @@ -21,7 +21,7 @@ * @brief MultiMCPlatform::fixWM_CLASS * @param widget */ -MultiMCPlatform::fixWM_CLASS(QWidget *widget) +void MultiMCPlatform::fixWM_CLASS(QWidget *widget) { Q_UNUSED(widget); } -- cgit