Merge lp:~komar007/qpdfview/unique_instances into lp:qpdfview

Proposed by Michał Trybus
Status: Merged
Merge reported by: Adam Reichold
Merged at revision: not available
Proposed branch: lp:~komar007/qpdfview/unique_instances
Merge into: lp:qpdfview
Diff against target: 543 lines (+100/-48)
26 files modified
miscellaneous/qpdfview.1 (+2/-0)
sources/main.cpp (+36/-8)
sources/mainwindow.cpp (+37/-17)
sources/mainwindow.h (+3/-1)
translations/qpdfview_ast.ts (+1/-1)
translations/qpdfview_ca.ts (+1/-1)
translations/qpdfview_cs.ts (+1/-1)
translations/qpdfview_da.ts (+1/-1)
translations/qpdfview_de.ts (+1/-1)
translations/qpdfview_el.ts (+1/-1)
translations/qpdfview_en_GB.ts (+1/-1)
translations/qpdfview_es.ts (+1/-1)
translations/qpdfview_fi.ts (+1/-1)
translations/qpdfview_fr.ts (+1/-1)
translations/qpdfview_he.ts (+1/-1)
translations/qpdfview_hr.ts (+1/-1)
translations/qpdfview_it.ts (+1/-1)
translations/qpdfview_my.ts (+1/-1)
translations/qpdfview_pt_BR.ts (+1/-1)
translations/qpdfview_ro.ts (+1/-1)
translations/qpdfview_ru.ts (+1/-1)
translations/qpdfview_sk.ts (+1/-1)
translations/qpdfview_tr.ts (+1/-1)
translations/qpdfview_ug.ts (+1/-1)
translations/qpdfview_uk.ts (+1/-1)
translations/qpdfview_zh_CN.ts (+1/-1)
To merge this branch: bzr merge lp:~komar007/qpdfview/unique_instances
Reviewer Review Type Date Requested Status
Adam Reichold Approve
Review via email: mp+136261@code.launchpad.net

Description of the change

Hi,
I've recently found out about this program and got to like it.
I implemented a feature which I really needed - named instances.
Everything works as before, but there's an extra parameter, --instance.
When you're using --unique, you can specify instance name with --instance, and open multiple named windows.
Later you can choose in which window to open a tab remotely again by specifying the instance name.
I also implemented tab restore on a per-instance basis.
I assumed that "v1" in "tabs_v1" means version and, since I needed to change the db schema, I also changed the name of this table to eliminate compatibility problems.

To post a comment you must log in.
Revision history for this message
Adam Reichold (adamreichold) wrote :

Hello Michał,

Tanks for your contribution! It seems a useful feature and I am very much for merging the branch. I hope I'll have some time tonight for a thorough review. Just some first remarks:

* Could you leave out the translation updates? I'll run "lupdate" when this is inside trunk. It just makes the diff larger.

* Your interpretation of the database table name is correct, at least what you described was my plan. :-) But since there has been no release using the "v1" table as of now, you can leave out the reimport of the "v1" table. This is all happing in trunk and so we do not have to give guarantees to the outside world yet. (But the new name is still correct, so we do not try to use the old table.)

* If you don't mind, I would add a copyright notice for you to the modified source files after merge and maybe make some smaller style changes. (Or you add the copyright notice yourself using your preferred mail address.)

Best regards, Adam.

Revision history for this message
Michał Trybus (komar007) wrote :

Hi,
thanks for your feedback.
I removed the translation fixes, db import and added myself to CONTRIBUTORS.
I rewrote the history a bit and made another branch: lp:~komar007/qpdfview/unique_instances_v2

Cheers,
Michał

Revision history for this message
Adam Reichold (adamreichold) wrote :

One thing, I am wondering: Is the check whether the instance name is empty necessary? Could it be possible, that the argument list contains an empty string?

Revision history for this message
Michał Trybus (komar007) wrote :

Yes, it's possible, you can do it with two quotation marks.
Since I'm using empty string to represent stored tabs if the program is run without --instance, I didn't want to allow the same with --instance, for clarity.

Revision history for this message
Adam Reichold (adamreichold) wrote :

Sounds sensible, thanks for clarifying that.

Revision history for this message
Adam Reichold (adamreichold) wrote :

Thanks again for the good work and contributing it to qpdfview's users! I merged your changes with some smaller modifications that I hope you can agree with.

Best regards, Adam.

review: Approve
Revision history for this message
Michał Trybus (komar007) wrote :

Thanks!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'miscellaneous/qpdfview.1'
2--- miscellaneous/qpdfview.1 2012-10-07 11:51:13 +0000
3+++ miscellaneous/qpdfview.1 2012-11-26 20:32:20 +0000
4@@ -33,6 +33,8 @@
5 .SH OPTIONS
6 .IP --unique
7 If an instance of qpdfview is started with this option, any files that are opened using this option afterwards, are opened as tabs in the original window. If a file is already opened in a tab of the original window, it is merely reloaded.
8+.IP --instance name
9+Sets the name of the current instance opened with --unique. This allows to run multiple instances and remotely open and refresh tabs in any of them by passing the instance name each time.
10 .IP [file[#page]]
11 .I file
12 specifies the file to open. The optional parameter
13
14=== modified file 'sources/main.cpp'
15--- sources/main.cpp 2012-11-25 07:18:09 +0000
16+++ sources/main.cpp 2012-11-26 20:32:20 +0000
17@@ -21,6 +21,8 @@
18
19 #include "mainwindow.h"
20
21+QString appOrgName = "local.qpdfview";
22+
23 struct File
24 {
25 QString filePath;
26@@ -42,7 +44,7 @@
27
28 QApplication application(argc, argv);
29
30- QApplication::setOrganizationDomain("local.qpdfview");
31+ QApplication::setOrganizationDomain(appOrgName);
32 QApplication::setOrganizationName("qpdfview");
33 QApplication::setApplicationName("qpdfview");
34
35@@ -65,6 +67,8 @@
36 #endif // QT_VERSION
37
38 bool unique = false;
39+ bool nextInstance = false;
40+ QString instance = "";
41 QList< File > files;
42
43 {
44@@ -82,10 +86,24 @@
45
46 foreach(QString argument, arguments)
47 {
48- if(argument == "--unique")
49+ if (nextInstance)
50+ {
51+ nextInstance = false;
52+ if (argument.length() < 1)
53+ {
54+ qDebug() << "empty instance name not allowed";
55+ return 1;
56+ }
57+ instance = argument;
58+ }
59+ else if(argument == "--unique")
60 {
61 unique = true;
62 }
63+ else if(argument == "--instance")
64+ {
65+ nextInstance = true;
66+ }
67 else
68 {
69 File file;
70@@ -110,6 +128,16 @@
71 files.append(file);
72 }
73 }
74+ if (nextInstance)
75+ {
76+ qDebug() << "Option --instance requires a string argument";
77+ return 1;
78+ }
79+ if (!unique && instance != "")
80+ {
81+ qDebug() << "Option --instance not allowed without --unique";
82+ return 1;
83+ }
84 }
85
86 MainWindow* mainWindow = 0;
87@@ -164,10 +192,10 @@
88
89 {
90 // D-Bus
91-
92+ QString service = appOrgName + ".i" + instance;
93 if(unique)
94 {
95- QDBusInterface* interface = new QDBusInterface("local.qpdfview", "/MainWindow", "local.qpdfview.MainWindow", QDBusConnection::sessionBus());
96+ QDBusInterface* interface = new QDBusInterface(service, "/MainWindow", "local.qpdfview.MainWindow", QDBusConnection::sessionBus());
97
98 if(interface->isValid())
99 {
100@@ -191,11 +219,11 @@
101 }
102 else
103 {
104- mainWindow = new MainWindow();
105+ mainWindow = new MainWindow(instance);
106
107 new MainWindowAdaptor(mainWindow);
108
109- if(!QDBusConnection::sessionBus().registerService("local.qpdfview"))
110+ if(!QDBusConnection::sessionBus().registerService(service))
111 {
112 qDebug() << QDBusConnection::sessionBus().lastError().message();
113
114@@ -214,13 +242,13 @@
115 }
116 else
117 {
118- mainWindow = new MainWindow();
119+ mainWindow = new MainWindow("");
120 }
121 }
122
123 #else
124
125- mainWindow = new MainWindow();
126+ mainWindow = new MainWindow("");
127
128 #endif // WITH_DBUS
129
130
131=== modified file 'sources/mainwindow.cpp'
132--- sources/mainwindow.cpp 2012-11-26 16:48:29 +0000
133+++ sources/mainwindow.cpp 2012-11-26 20:32:20 +0000
134@@ -21,7 +21,7 @@
135
136 #include "mainwindow.h"
137
138-MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent)
139+MainWindow::MainWindow(QString instanceName, QWidget* parent) : QMainWindow(parent), m_instanceName(instanceName)
140 {
141 {
142 // settings
143@@ -2112,10 +2112,11 @@
144
145 // tabs
146
147- if(!tables.contains("tabs_v1"))
148+ if(!tables.contains("tabs_v2"))
149 {
150- query.exec("CREATE TABLE tabs_v1 "
151+ query.exec("CREATE TABLE tabs_v2 "
152 "(filePath TEXT"
153+ ",instanceName TEXT"
154 ",currentPage INTEGER"
155 ",continuousMode INTEGER"
156 ",layoutMode INTEGER"
157@@ -2127,6 +2128,19 @@
158 {
159 qDebug() << query.lastError();
160 }
161+ // import stored tabs from old version into current instance
162+ if(tables.contains("tabs_v1"))
163+ {
164+ query.prepare("INSERT INTO tabs_v2 "
165+ "SELECT filePath,?,currentPage,continuousMode,layoutMode,scaleMode,scaleFactor,rotation "
166+ "FROM tabs_v1");
167+ query.bindValue(0, m_instanceName);
168+ query.exec();
169+ if(!query.isActive())
170+ {
171+ qDebug() << query.lastError();
172+ }
173+ }
174 }
175
176 // bookmarks
177@@ -2196,7 +2210,10 @@
178 m_database.transaction();
179
180 QSqlQuery query(m_database);
181- query.exec("SELECT filePath,currentPage,continuousMode,layoutMode,scaleMode,scaleFactor,rotation FROM tabs_v1");
182+ query.prepare("SELECT filePath,currentPage,continuousMode,layoutMode,scaleMode,scaleFactor,rotation "
183+ "FROM tabs_v2 WHERE instanceName=?");
184+ query.bindValue(0, m_instanceName);
185+ query.exec();
186
187 while(query.next())
188 {
189@@ -2279,7 +2296,9 @@
190 m_database.transaction();
191
192 QSqlQuery query(m_database);
193- query.exec("DELETE FROM tabs_v1");
194+ query.prepare("DELETE FROM tabs_v2 WHERE instanceName = ?");
195+ query.bindValue(0, m_instanceName);
196+ query.exec();
197
198 if(!query.isActive())
199 {
200@@ -2288,22 +2307,23 @@
201
202 if(m_settings->value("mainWindow/restoreTabs", false).toBool())
203 {
204- query.prepare("INSERT INTO tabs_v1 "
205- "(filePath,currentPage,continuousMode,layoutMode,scaleMode,scaleFactor,rotation)"
206- " VALUES (?,?,?,?,?,?,?)");
207+ query.prepare("INSERT INTO tabs_v2 "
208+ "(filePath,instanceName,currentPage,continuousMode,layoutMode,scaleMode,scaleFactor,rotation)"
209+ " VALUES (?,?,?,?,?,?,?,?)");
210
211 for(int index = 0; index < m_tabWidget->count(); ++index)
212 {
213 query.bindValue(0, QFileInfo(tab(index)->filePath()).absoluteFilePath());
214- query.bindValue(1, tab(index)->currentPage());
215-
216- query.bindValue(2, static_cast< uint >(tab(index)->continousMode()));
217- query.bindValue(3, static_cast< uint >(tab(index)->layoutMode()));
218-
219- query.bindValue(4, static_cast< uint >(tab(index)->scaleMode()));
220- query.bindValue(5, tab(index)->scaleFactor());
221-
222- query.bindValue(6, static_cast< uint >(tab(index)->rotation()));
223+ query.bindValue(1, m_instanceName);
224+ query.bindValue(2, tab(index)->currentPage());
225+
226+ query.bindValue(3, static_cast< uint >(tab(index)->continousMode()));
227+ query.bindValue(4, static_cast< uint >(tab(index)->layoutMode()));
228+
229+ query.bindValue(5, static_cast< uint >(tab(index)->scaleMode()));
230+ query.bindValue(6, tab(index)->scaleFactor());
231+
232+ query.bindValue(7, static_cast< uint >(tab(index)->rotation()));
233
234 query.exec();
235
236
237=== modified file 'sources/mainwindow.h'
238--- sources/mainwindow.h 2012-11-25 07:24:50 +0000
239+++ sources/mainwindow.h 2012-11-26 20:32:20 +0000
240@@ -53,7 +53,7 @@
241 Q_OBJECT
242
243 public:
244- explicit MainWindow(QWidget* parent = 0);
245+ explicit MainWindow(QString instanceName, QWidget* parent = 0);
246
247 QSize sizeHint() const;
248 QMenu* createPopupMenu();
249@@ -291,6 +291,8 @@
250
251 #endif // WITH_SQL
252
253+ QString m_instanceName;
254+
255 void createDatabase();
256
257 void restoreTabs();
258
259=== modified file 'translations/qpdfview_ast.ts'
260--- translations/qpdfview_ast.ts 2012-11-26 07:22:27 +0000
261+++ translations/qpdfview_ast.ts 2012-11-26 20:32:20 +0000
262@@ -729,7 +729,7 @@
263 <context>
264 <name>QObject</name>
265 <message>
266- <location filename="../sources/main.cpp" line="155"/>
267+ <location filename="../sources/main.cpp" line="173"/>
268 <source>SyncTeX data for &apos;%1&apos; could not be found.</source>
269 <translation type="unfinished">Nun s&apos;alcontraron datos SyncTeX pa «%1».</translation>
270 </message>
271
272=== modified file 'translations/qpdfview_ca.ts'
273--- translations/qpdfview_ca.ts 2012-11-25 09:09:10 +0000
274+++ translations/qpdfview_ca.ts 2012-11-26 20:32:20 +0000
275@@ -729,7 +729,7 @@
276 <context>
277 <name>QObject</name>
278 <message>
279- <location filename="../sources/main.cpp" line="155"/>
280+ <location filename="../sources/main.cpp" line="173"/>
281 <source>SyncTeX data for &apos;%1&apos; could not be found.</source>
282 <translation type="unfinished">No s&apos;han trobat les dades SyncText per «%1».</translation>
283 </message>
284
285=== modified file 'translations/qpdfview_cs.ts'
286--- translations/qpdfview_cs.ts 2012-11-26 14:50:34 +0000
287+++ translations/qpdfview_cs.ts 2012-11-26 20:32:20 +0000
288@@ -732,7 +732,7 @@
289 <context>
290 <name>QObject</name>
291 <message>
292- <location filename="../sources/main.cpp" line="155"/>
293+ <location filename="../sources/main.cpp" line="173"/>
294 <source>SyncTeX data for &apos;%1&apos; could not be found.</source>
295 <translation type="unfinished">Nepodařilo se najít SyncTeX data pro &apos;%1&apos;.</translation>
296 </message>
297
298=== modified file 'translations/qpdfview_da.ts'
299--- translations/qpdfview_da.ts 2012-11-25 09:27:13 +0000
300+++ translations/qpdfview_da.ts 2012-11-26 20:32:20 +0000
301@@ -729,7 +729,7 @@
302 <context>
303 <name>QObject</name>
304 <message>
305- <location filename="../sources/main.cpp" line="155"/>
306+ <location filename="../sources/main.cpp" line="173"/>
307 <source>SyncTeX data for &apos;%1&apos; could not be found.</source>
308 <translation type="unfinished">SyncTeX-data for &apos;%1&apos; kunne ikke findes.</translation>
309 </message>
310
311=== modified file 'translations/qpdfview_de.ts'
312--- translations/qpdfview_de.ts 2012-11-25 08:26:35 +0000
313+++ translations/qpdfview_de.ts 2012-11-26 20:32:20 +0000
314@@ -729,7 +729,7 @@
315 <context>
316 <name>QObject</name>
317 <message>
318- <location filename="../sources/main.cpp" line="155"/>
319+ <location filename="../sources/main.cpp" line="173"/>
320 <source>SyncTeX data for &apos;%1&apos; could not be found.</source>
321 <translation type="unfinished">Keine SyncTeX-Daten für &quot;%1&quot; gefunden.</translation>
322 </message>
323
324=== modified file 'translations/qpdfview_el.ts'
325--- translations/qpdfview_el.ts 2012-11-25 07:24:50 +0000
326+++ translations/qpdfview_el.ts 2012-11-26 20:32:20 +0000
327@@ -729,7 +729,7 @@
328 <context>
329 <name>QObject</name>
330 <message>
331- <location filename="../sources/main.cpp" line="155"/>
332+ <location filename="../sources/main.cpp" line="173"/>
333 <source>SyncTeX data for &apos;%1&apos; could not be found.</source>
334 <translation type="unfinished">Τα δεδομένα SyncTeX για το &apos;%1&apos; δεν μπορούν να βρεθούν.</translation>
335 </message>
336
337=== modified file 'translations/qpdfview_en_GB.ts'
338--- translations/qpdfview_en_GB.ts 2012-11-25 09:27:13 +0000
339+++ translations/qpdfview_en_GB.ts 2012-11-26 20:32:20 +0000
340@@ -729,7 +729,7 @@
341 <context>
342 <name>QObject</name>
343 <message>
344- <location filename="../sources/main.cpp" line="155"/>
345+ <location filename="../sources/main.cpp" line="173"/>
346 <source>SyncTeX data for &apos;%1&apos; could not be found.</source>
347 <translation type="unfinished">SyncTeX data for &apos;%1&apos; could not be found.</translation>
348 </message>
349
350=== modified file 'translations/qpdfview_es.ts'
351--- translations/qpdfview_es.ts 2012-11-25 07:24:50 +0000
352+++ translations/qpdfview_es.ts 2012-11-26 20:32:20 +0000
353@@ -729,7 +729,7 @@
354 <context>
355 <name>QObject</name>
356 <message>
357- <location filename="../sources/main.cpp" line="155"/>
358+ <location filename="../sources/main.cpp" line="173"/>
359 <source>SyncTeX data for &apos;%1&apos; could not be found.</source>
360 <translation type="unfinished">No se encontraron los datos SyncText para «%1».</translation>
361 </message>
362
363=== modified file 'translations/qpdfview_fi.ts'
364--- translations/qpdfview_fi.ts 2012-11-25 07:24:50 +0000
365+++ translations/qpdfview_fi.ts 2012-11-26 20:32:20 +0000
366@@ -729,7 +729,7 @@
367 <context>
368 <name>QObject</name>
369 <message>
370- <location filename="../sources/main.cpp" line="155"/>
371+ <location filename="../sources/main.cpp" line="173"/>
372 <source>SyncTeX data for &apos;%1&apos; could not be found.</source>
373 <translation type="unfinished"></translation>
374 </message>
375
376=== modified file 'translations/qpdfview_fr.ts'
377--- translations/qpdfview_fr.ts 2012-11-25 07:24:50 +0000
378+++ translations/qpdfview_fr.ts 2012-11-26 20:32:20 +0000
379@@ -729,7 +729,7 @@
380 <context>
381 <name>QObject</name>
382 <message>
383- <location filename="../sources/main.cpp" line="155"/>
384+ <location filename="../sources/main.cpp" line="173"/>
385 <source>SyncTeX data for &apos;%1&apos; could not be found.</source>
386 <translation type="unfinished">Impossible de trouver les données SyncTeX pour &apos;%1&apos;.</translation>
387 </message>
388
389=== modified file 'translations/qpdfview_he.ts'
390--- translations/qpdfview_he.ts 2012-11-25 08:26:35 +0000
391+++ translations/qpdfview_he.ts 2012-11-26 20:32:20 +0000
392@@ -729,7 +729,7 @@
393 <context>
394 <name>QObject</name>
395 <message>
396- <location filename="../sources/main.cpp" line="155"/>
397+ <location filename="../sources/main.cpp" line="173"/>
398 <source>SyncTeX data for &apos;%1&apos; could not be found.</source>
399 <translation type="unfinished">לא ניתן למצוא את נתוני ה־SyncTeX עבור &apos;%1&apos;.</translation>
400 </message>
401
402=== modified file 'translations/qpdfview_hr.ts'
403--- translations/qpdfview_hr.ts 2012-11-25 07:24:50 +0000
404+++ translations/qpdfview_hr.ts 2012-11-26 20:32:20 +0000
405@@ -729,7 +729,7 @@
406 <context>
407 <name>QObject</name>
408 <message>
409- <location filename="../sources/main.cpp" line="155"/>
410+ <location filename="../sources/main.cpp" line="173"/>
411 <source>SyncTeX data for &apos;%1&apos; could not be found.</source>
412 <translation type="unfinished">SyncTeX podaci za &apos;%1&apos; nije pronađen.</translation>
413 </message>
414
415=== modified file 'translations/qpdfview_it.ts'
416--- translations/qpdfview_it.ts 2012-11-25 08:26:35 +0000
417+++ translations/qpdfview_it.ts 2012-11-26 20:32:20 +0000
418@@ -729,7 +729,7 @@
419 <context>
420 <name>QObject</name>
421 <message>
422- <location filename="../sources/main.cpp" line="155"/>
423+ <location filename="../sources/main.cpp" line="173"/>
424 <source>SyncTeX data for &apos;%1&apos; could not be found.</source>
425 <translation type="unfinished">Impossibile trovare i dati SyncTeX per «%1».</translation>
426 </message>
427
428=== modified file 'translations/qpdfview_my.ts'
429--- translations/qpdfview_my.ts 2012-11-25 07:24:50 +0000
430+++ translations/qpdfview_my.ts 2012-11-26 20:32:20 +0000
431@@ -729,7 +729,7 @@
432 <context>
433 <name>QObject</name>
434 <message>
435- <location filename="../sources/main.cpp" line="155"/>
436+ <location filename="../sources/main.cpp" line="173"/>
437 <source>SyncTeX data for &apos;%1&apos; could not be found.</source>
438 <translation type="unfinished">SyncTeX data for &apos;%1&apos; could not be found.</translation>
439 </message>
440
441=== modified file 'translations/qpdfview_pt_BR.ts'
442--- translations/qpdfview_pt_BR.ts 2012-11-26 07:22:27 +0000
443+++ translations/qpdfview_pt_BR.ts 2012-11-26 20:32:20 +0000
444@@ -729,7 +729,7 @@
445 <context>
446 <name>QObject</name>
447 <message>
448- <location filename="../sources/main.cpp" line="155"/>
449+ <location filename="../sources/main.cpp" line="173"/>
450 <source>SyncTeX data for &apos;%1&apos; could not be found.</source>
451 <translation type="unfinished">SyncTeX dados para &apos;%1&apos; não pôde ser encontrado.</translation>
452 </message>
453
454=== modified file 'translations/qpdfview_ro.ts'
455--- translations/qpdfview_ro.ts 2012-11-25 07:24:50 +0000
456+++ translations/qpdfview_ro.ts 2012-11-26 20:32:20 +0000
457@@ -729,7 +729,7 @@
458 <context>
459 <name>QObject</name>
460 <message>
461- <location filename="../sources/main.cpp" line="155"/>
462+ <location filename="../sources/main.cpp" line="173"/>
463 <source>SyncTeX data for &apos;%1&apos; could not be found.</source>
464 <translation type="unfinished">Nu s-au găsit datele SyncTeX pentru „%1”.</translation>
465 </message>
466
467=== modified file 'translations/qpdfview_ru.ts'
468--- translations/qpdfview_ru.ts 2012-11-25 07:24:50 +0000
469+++ translations/qpdfview_ru.ts 2012-11-26 20:32:20 +0000
470@@ -729,7 +729,7 @@
471 <context>
472 <name>QObject</name>
473 <message>
474- <location filename="../sources/main.cpp" line="155"/>
475+ <location filename="../sources/main.cpp" line="173"/>
476 <source>SyncTeX data for &apos;%1&apos; could not be found.</source>
477 <translation type="unfinished">Не найдены данные SyncTeX для &apos;%1&apos;.</translation>
478 </message>
479
480=== modified file 'translations/qpdfview_sk.ts'
481--- translations/qpdfview_sk.ts 2012-11-25 10:12:59 +0000
482+++ translations/qpdfview_sk.ts 2012-11-26 20:32:20 +0000
483@@ -729,7 +729,7 @@
484 <context>
485 <name>QObject</name>
486 <message>
487- <location filename="../sources/main.cpp" line="155"/>
488+ <location filename="../sources/main.cpp" line="173"/>
489 <source>SyncTeX data for &apos;%1&apos; could not be found.</source>
490 <translation type="unfinished">SyncTeX dáta pre &apos;%1&apos; sa nedali nájsť.</translation>
491 </message>
492
493=== modified file 'translations/qpdfview_tr.ts'
494--- translations/qpdfview_tr.ts 2012-11-25 07:24:50 +0000
495+++ translations/qpdfview_tr.ts 2012-11-26 20:32:20 +0000
496@@ -729,7 +729,7 @@
497 <context>
498 <name>QObject</name>
499 <message>
500- <location filename="../sources/main.cpp" line="155"/>
501+ <location filename="../sources/main.cpp" line="173"/>
502 <source>SyncTeX data for &apos;%1&apos; could not be found.</source>
503 <translation type="unfinished">&apos;%1&apos; belgesi için SyncTeX verisi bulunamadı.</translation>
504 </message>
505
506=== modified file 'translations/qpdfview_ug.ts'
507--- translations/qpdfview_ug.ts 2012-11-25 07:24:50 +0000
508+++ translations/qpdfview_ug.ts 2012-11-26 20:32:20 +0000
509@@ -729,7 +729,7 @@
510 <context>
511 <name>QObject</name>
512 <message>
513- <location filename="../sources/main.cpp" line="155"/>
514+ <location filename="../sources/main.cpp" line="173"/>
515 <source>SyncTeX data for &apos;%1&apos; could not be found.</source>
516 <translation type="unfinished"></translation>
517 </message>
518
519=== modified file 'translations/qpdfview_uk.ts'
520--- translations/qpdfview_uk.ts 2012-11-25 07:24:50 +0000
521+++ translations/qpdfview_uk.ts 2012-11-26 20:32:20 +0000
522@@ -729,7 +729,7 @@
523 <context>
524 <name>QObject</name>
525 <message>
526- <location filename="../sources/main.cpp" line="155"/>
527+ <location filename="../sources/main.cpp" line="173"/>
528 <source>SyncTeX data for &apos;%1&apos; could not be found.</source>
529 <translation type="unfinished">Не знайдено даних SyncTeX для &apos;%1&apos;.</translation>
530 </message>
531
532=== modified file 'translations/qpdfview_zh_CN.ts'
533--- translations/qpdfview_zh_CN.ts 2012-11-25 09:27:13 +0000
534+++ translations/qpdfview_zh_CN.ts 2012-11-26 20:32:20 +0000
535@@ -729,7 +729,7 @@
536 <context>
537 <name>QObject</name>
538 <message>
539- <location filename="../sources/main.cpp" line="155"/>
540+ <location filename="../sources/main.cpp" line="173"/>
541 <source>SyncTeX data for &apos;%1&apos; could not be found.</source>
542 <translation type="unfinished"></translation>
543 </message>

Subscribers

People subscribed via source and target branches