diff --git a/kcmkwin/kwinrules/Makefile.am b/kcmkwin/kwinrules/Makefile.am index 798ceaf25f..f987e58f14 100644 --- a/kcmkwin/kwinrules/Makefile.am +++ b/kcmkwin/kwinrules/Makefile.am @@ -2,6 +2,8 @@ METASOURCES = AUTO AM_CPPFLAGS = $(all_includes) -DKCMRULES INCLUDES = -I$(top_srcdir)/kwin/lib +KDE_OPTIONS = nofinal + kde_module_LTLIBRARIES = kcm_kwinrules.la kcm_kwinrules_la_SOURCES = main.cpp ruleswidget.cpp ruleslist.cpp kwinsrc.cpp detectwidget.cpp \ diff --git a/kcmkwin/kwinrules/detectwidget.cpp b/kcmkwin/kwinrules/detectwidget.cpp index a921e2173c..b92bd151a8 100644 --- a/kcmkwin/kwinrules/detectwidget.cpp +++ b/kcmkwin/kwinrules/detectwidget.cpp @@ -55,7 +55,7 @@ void DetectDialog::detect( WId window ) readWindow( window ); } -static QCString getStringProperty(WId w, Atom prop, char separator) +static QCString getStringProperty(WId w, Atom prop, char separator=0) { Atom type; int format, status;