Changeset c039ebbe82 in tspsg
- Timestamp:
- Mar 31, 2013, 9:29:14 PM (12 years ago)
- Branches:
- 0.1.4.170-beta2-bb10
- Children:
- bd4553fa91
- Parents:
- 628500a5d6
- git-author:
- Oleksii Serdiuk <contacts@…> (03/31/13 21:29:14)
- git-committer:
- Oleksii Serdiuk <contacts@…> (03/31/13 21:46:10)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mainwindow.cpp
r628500a5d6 rc039ebbe82 201 201 QString file; 202 202 if ((fileName == tr("Untitled") + ".tspt") && settings->value("SaveLastUsed", DEF_SAVE_LAST_USED).toBool()) 203 #ifdef Q_OS_BLACKBERRY 204 file = settings->value(OS"/LastUsed/TaskLoadPath", "/accounts/1000/shared").toString(); 205 #else 203 206 file = settings->value(OS"/LastUsed/TaskLoadPath").toString(); 207 #endif 204 208 else 205 209 file = QFileInfo(fileName).path(); … … 242 246 if (selectedFile.isEmpty()) { 243 247 if (settings->value("SaveLastUsed", DEF_SAVE_LAST_USED).toBool()) { 248 #ifdef Q_OS_BLACKBERRY 249 selectedFile = settings->value(OS"/LastUsed/SolutionSavePath", "/accounts/1000/shared").toString(); 250 #else 244 251 selectedFile = settings->value(OS"/LastUsed/SolutionSavePath").toString(); 252 #endif 245 253 } 246 254 } else … … 1628 1636 QString file; 1629 1637 if ((fileName == tr("Untitled") + ".tspt") && settings->value("SaveLastUsed", DEF_SAVE_LAST_USED).toBool()) { 1638 #ifdef Q_OS_BLACKBERRY 1639 file = settings->value(OS"/LastUsed/TaskSavePath", "/accounts/1000/shared").toString(); 1640 #else 1630 1641 file = settings->value(OS"/LastUsed/TaskSavePath").toString(); 1642 #endif 1631 1643 if (!file.isEmpty()) 1632 1644 file.append("/");
Note: See TracChangeset
for help on using the changeset viewer.