Bug 142389 - albumfolderview.cpp Compile Error with svn an 0.9.1 RC2
Summary: albumfolderview.cpp Compile Error with svn an 0.9.1 RC2
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-01 22:02 UTC by David Agnese
Modified: 2017-08-19 20:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Agnese 2007-03-01 22:02:07 UTC
Version:           0.9.1 RC2 & svn (using KDE KDE 3.5.5)
Installed from:    Compiled From Sources
Compiler:          gcc (GCC) 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk) 
OS:                Linux

I got an error while compiling svn or 0.9.1 RC2 (didn't try RC1) :

albumfolderview.cpp:1174: error: type specifier omitted for parameter

Was workging with 0.9.0 so I checked the differences.
Replacing line 1174 from :

    KFileDialog dlg(QString(), "inode/directory", this, "importFolder", true);

to

    KFileDialog dlg(QString::null, "inode/directory", this, "importFolder", true);

solved the problem.
I'm no hacker so I don't know if this will have any consequence on Digikam stability some please let me know if I can use Digikam compiled this way or if I should wait for a patch being comitted to svn.

Thanks in advance.
Comment 1 Gerhard Kulzer 2007-03-02 10:10:52 UTC
Changed in svn, we're back to QString::null. It doesn't hurt anyway. So lets keep it until gcc 3.3 has died out.
Comment 2 Gerhard Kulzer 2007-03-02 10:16:46 UTC
*** Bug has been marked as fixed ***.