[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/tools/f-office
From: Marijn Kruisselbrink <m.kruisselbrink () student ! tue ! nl>
Date: 2010-09-01 4:38:03
Message-ID: 20100901043803.0F485AC857 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1170481 by mkruisselbrink:
don't crash when only one argument is passed to freoffice
M +1 -1 Main.cpp
--- trunk/koffice/tools/f-office/Main.cpp #1170480:1170481
@@ -68,7 +68,7 @@
&w, SLOT(showApplicationMenu()));
if (arguments.size() > 1) {
- w.openDocument(arguments[1],arguments[2].compare("false",Qt::CaseInsensitive));
+ w.openDocument(arguments[1],arguments.size() > 2 ? \
arguments[2].compare("false",Qt::CaseInsensitive) : false); } else {
QTimer::singleShot(5, &w, SLOT(checkDBusActivation()));
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic