Merge pull request #75 from luigino/minor

Minor fixes
This commit is contained in:
Mischa Spiegelmock
2018-06-22 11:58:47 -07:00
committed by GitHub
3 changed files with 4 additions and 2 deletions

View File

@ -117,7 +117,7 @@ AS_IF([test "x$enable_qt" = "xyes"], [
AC_CHECK_PROGS(MOC, [moc-qt5 moc])
AC_CHECK_PROGS(UIC, [uic-qt5 uic])
AC_CHECK_PROGS(RCC, [rcc])
AC_CHECK_PROGS(RCC, [rcc-qt5 rcc])
if test -z "$MOC" || test -z "$UIC" || test -z "$RCC"; then
AC_MSG_ERROR([Qt utility programs moc, uic, and rcc are required.])
fi

View File

@ -14,7 +14,7 @@ AM_CPPFLAGS = \
lib_LTLIBRARIES = libprojectM.la # public, possibly-shared library
# link flags
libprojectM_la_LDFLAGS = $(CG_LDFLAGS) -no-undefined -version-info 0:2:0
libprojectM_la_LDFLAGS = $(CG_LDFLAGS) -no-undefined -version-info 2:0:0
# link libRenderer, MilkdropPresetFactory, NativePresetFactory, and libprojectM sources
libprojectM_la_LIBADD = \

View File

@ -31,6 +31,8 @@ class Nullable {
Nullable & operator=(const Value & value) {
m_value = value;
m_hasValue = true;
static Nullable tmp = 0;
return tmp;
}
void nullify() {