Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
kseg
kseg-KSEG_HOME.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kseg-KSEG_HOME.patch of Package kseg
diff -ur kseg/main.cpp kseg.old/main.cpp --- kseg/main.cpp 2007-06-08 14:57:51 +0400 +++ kseg.old/main.cpp 2007-06-08 15:18:45 +0400 @@ -27,6 +27,9 @@ #include "KSegWindow.H" #include "G_ref.H" #include "KSegProperties.H" +#ifndef KSEG_HOME +# define KSEG_HOME "@KSEG_HOME@" +#endif int main(int argc, char **argv) { @@ -37,9 +40,9 @@ //set some default properties KSegProperties::setPropertyDefault("Language", ""); - KSegProperties::setPropertyDefault("LanguageDir", "."); + KSegProperties::setPropertyDefault("LanguageDir", KSEG_HOME + QString("/locale")); KSegProperties::setPropertyDefault("SelectType", "BorderSelect"); - KSegProperties::setPropertyDefault("QuickPlayDirectory", "."); + KSegProperties::setPropertyDefault("QuickPlayDirectory", KSEG_HOME + QString("/examples")); KSegProperties::setPropertyDefault("RecentListSize", "4"); KSegProperties::setPropertyDefault("BackgroundColor", Qt::white.name()); KSegProperties::setPropertyDefault("ForegroundColor", Qt::black.name());
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor