Skip to content

Commit

Permalink
Merge pull request #17 from spowelljr/fixInline
Browse files Browse the repository at this point in the history
Remove inline to fix building on Windows
  • Loading branch information
spowelljr authored Jan 25, 2023
2 parents b54fc1c + 94b4d88 commit 9c1763e
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 7 deletions.
1 change: 1 addition & 0 deletions minikube.pro
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ SOURCES = src/main.cpp \
src/basicview.cpp \
src/cluster.cpp \
src/commandrunner.cpp \
src/constants.cpp \
src/errormessage.cpp \
src/fonts.cpp \
src/hyperkit.cpp \
Expand Down
25 changes: 25 additions & 0 deletions src/constants.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
Copyright 2023 The Kubernetes Authors All rights reserved.
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 "constants.h"

const QString Constants::startIcon = "\uf04b";
const QString Constants::stopIcon = "\uf04d";
const QString Constants::pauseIcon = "\uf04c";
const QString Constants::unPauseIcon = "\uf04b";
const QString Constants::deleteIcon = "\uf1f8";
const QString Constants::reloadIcon = "\uf021";
const QString Constants::createIcon = "\uf0fe";
14 changes: 7 additions & 7 deletions src/constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ class Constants
public:
const static int basicViewHeight = 300;
const static int basicViewWidth = 250;
inline static const QString startIcon = "\uf04b";
inline static const QString stopIcon = "\uf04d";
inline static const QString pauseIcon = "\uf04c";
inline static const QString unPauseIcon = "\uf04b";
inline static const QString deleteIcon = "\uf1f8";
inline static const QString reloadIcon = "\uf021";
inline static const QString createIcon = "\uf0fe";
static const QString startIcon;
static const QString stopIcon;
static const QString pauseIcon;
static const QString unPauseIcon;
static const QString deleteIcon;
static const QString reloadIcon;
static const QString createIcon;
};

#endif // CONSTANTS_H

0 comments on commit 9c1763e

Please sign in to comment.