[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/marble/marble-1.1/src/lib
From: Thibaut Gridel <tgridel () free ! fr>
Date: 2011-01-07 22:05:29
Message-ID: 20110107220529.B5FE4AC8B0 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1212678 by tgridel:
Backport 1212677: fix cancel case
M +2 -1 CurrentLocationWidget.cpp
--- branches/marble/marble-1.1/src/lib/CurrentLocationWidget.cpp #1212677:1212678
@@ -308,8 +308,9 @@
void CurrentLocationWidgetPrivate::saveTrack()
{
static QString s_dirName = QDir::homePath();
+ QString suggested = s_dirName;
QString fileName = QFileDialog::getSaveFileName(m_widget, QObject::tr("Save \
Track"), // krazy:exclude=qclasses
- s_dirName.append('/' + \
QDateTime::currentDateTime().toString("yyyy-MM-dd_hhmmss") + ".kml"), + \
suggested.append('/' + QDateTime::currentDateTime().toString("yyyy-MM-dd_hhmmss") + \
".kml"), QObject::tr("KML File (*.kml)"));
if ( !fileName.isEmpty() ) {
QFileInfo file( fileName );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic