mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-19 18:26:34 +01:00
[PageScreen] Use QFileDialog::getOpenFileName instead of saveFileName.
This commit is contained in:
parent
772427ef09
commit
8621ee0335
@ -95,7 +95,7 @@ void PageScreen::changeLocation()
|
||||
{
|
||||
const QString &suggestedPath = QString("%1/%2.%3").arg(QDir::homePath(), QzTools::filterCharsFromFilename(m_pageTitle),
|
||||
m_formats[ui->formats->currentIndex()].toLower());
|
||||
const QString &path = QFileDialog::getSaveFileName(this, tr("Save Page Screen..."), suggestedPath);
|
||||
const QString &path = QFileDialog::getOpenFileName(this, tr("Choose location..."), suggestedPath);
|
||||
|
||||
if (!path.isEmpty()) {
|
||||
ui->location->setText(path);
|
||||
|
@ -88,7 +88,7 @@
|
||||
<item>
|
||||
<widget class="QToolButton" name="changeLocation">
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
<string>Browse...</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -2398,28 +2398,28 @@
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/lib/other/pagescreen.ui" line="75"/>
|
||||
<location filename="../src/lib/other/pagescreen.ui" line="62"/>
|
||||
<source>Format:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/lib/other/pagescreen.ui" line="85"/>
|
||||
<location filename="../src/lib/other/pagescreen.ui" line="72"/>
|
||||
<source>Location:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/lib/other/pagescreen.ui" line="104"/>
|
||||
<source>...</source>
|
||||
<location filename="../src/lib/other/pagescreen.ui" line="91"/>
|
||||
<source>Browse...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/lib/other/pagescreen.cpp" line="56"/>
|
||||
<location filename="../src/lib/other/pagescreen.cpp" line="60"/>
|
||||
<source>Save as %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/lib/other/pagescreen.cpp" line="94"/>
|
||||
<source>Save Page Screen...</source>
|
||||
<location filename="../src/lib/other/pagescreen.cpp" line="98"/>
|
||||
<source>Choose location...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
@ -4136,6 +4136,7 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/lib/app/qupzilla.cpp" line="1933"/>
|
||||
<location filename="../src/lib/other/pagescreen.cpp" line="156"/>
|
||||
<source>QupZilla %1 (%2)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
Loading…
Reference in New Issue
Block a user