mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kdeui: remove bogus --kdeinit argument passing from KCrash::defaultCrashHandler()
it was ment for kdeinit wrappers but they do not supports such argument Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
4d2b877aaf
commit
a375907865
4 changed files with 0 additions and 10 deletions
|
@ -79,7 +79,6 @@
|
|||
#endif
|
||||
|
||||
KApplication* KApplication::KApp = 0L;
|
||||
bool KApplication::loadedByKdeinit = false;
|
||||
|
||||
#ifdef Q_WS_X11
|
||||
static Atom atom_DesktopWindow;
|
||||
|
|
|
@ -263,11 +263,6 @@ public:
|
|||
bool notify( QObject* receiver, QEvent* event );
|
||||
#endif // Q_WS_X11
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
static bool loadedByKdeinit;
|
||||
|
||||
public Q_SLOTS:
|
||||
/**
|
||||
* Updates the last user action timestamp to the given time, or to the current time,
|
||||
|
|
|
@ -350,9 +350,6 @@ KCrash::defaultCrashHandler (int sig)
|
|||
argv[i++] = "--appname";
|
||||
argv[i++] = s_appName ? s_appName : "<unknown>";
|
||||
|
||||
if (KApplication::loadedByKdeinit)
|
||||
argv[i++] = "--kdeinit";
|
||||
|
||||
// only add apppath if it's not NULL
|
||||
if (s_appPath && *s_appPath) {
|
||||
argv[i++] = "--apppath";
|
||||
|
|
|
@ -1528,7 +1528,6 @@ int main(int argc, char **argv)
|
|||
Q_ASSERT(!KGlobal::hasMainComponent());
|
||||
// don't change envvars before proctitle_init()
|
||||
unsetenv("LD_BIND_NOW");
|
||||
KApplication::loadedByKdeinit = true;
|
||||
|
||||
d.maxname = strlen(argv[0]);
|
||||
d.launcher_pid = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue