[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdenetwork/kopete/kopete/chatwindow
From: Matt Rogers <mattr () kde ! org>
Date: 2010-01-14 4:43:48
Message-ID: 1263444228.271892.15067.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1074425 by mattr:
Compile on Sun Studio 12u1
Taking the address of an r-value is not allowed on that compiler.
Thanks for the patch!
CCBUG: 222478
Forwardported from the 4.4 branch
M +2 -1 chatmessagepart.cpp
--- trunk/KDE/kdenetwork/kopete/kopete/chatwindow/chatmessagepart.cpp #1074424:1074425
@@ -1429,8 +1429,9 @@
{
if(!(*it).fileName().isEmpty())
{
+ QString temporaryExtension = "*.wav";
QString newFileName = QFileDialog::getSaveFileName(NULL,
- i18n("Save File as"), QString(), i18n("Wav file (*.wav)"), &QString("*.wav"));
+ i18n("Save File as"), QString(), i18n("Wav file (*.wav)"), &temporaryExtension);
if(!newFileName.isEmpty())
QFile::copy((*it).fileName(), newFileName);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic